|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildListener
Instances of classes that implement this interface can register to be notified when things happened during a build.
BuildEvent
,
Project.addBuildListener(BuildListener)
Method Summary | |
---|---|
void |
buildFinished(BuildEvent event)
Signals that the last target has finished. |
void |
buildStarted(BuildEvent event)
Signals that a build has started. |
void |
messageLogged(BuildEvent event)
Signals a message logging event. |
void |
targetFinished(BuildEvent event)
Signals that a target has finished. |
void |
targetStarted(BuildEvent event)
Signals that a target is starting. |
void |
taskFinished(BuildEvent event)
Signals that a task has finished. |
void |
taskStarted(BuildEvent event)
Signals that a task is starting. |
Method Detail |
---|
void buildStarted(BuildEvent event)
This event is fired before the project instance is fully configured. In particular no properties have been set and the project may not know its name or default target, yet.
event
- An event with any relevant extra information.
Must not be null
.void buildFinished(BuildEvent event)
event
- An event with any relevant extra information.
Must not be null
.BuildEvent.getException()
void targetStarted(BuildEvent event)
event
- An event with any relevant extra information.
Must not be null
.BuildEvent.getTarget()
void targetFinished(BuildEvent event)
event
- An event with any relevant extra information.
Must not be null
.BuildEvent.getException()
void taskStarted(BuildEvent event)
event
- An event with any relevant extra information.
Must not be null
.BuildEvent.getTask()
void taskFinished(BuildEvent event)
event
- An event with any relevant extra information.
Must not be null
.BuildEvent.getException()
void messageLogged(BuildEvent event)
event
- An event with any relevant extra information.
Must not be null
.BuildEvent.getMessage()
,
BuildEvent.getException()
,
BuildEvent.getPriority()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |