|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.DefaultLogger
Writes build event to a PrintStream. Currently, it only writes which targets are being executed, and any messages that get logged.
Constructor Summary | |
DefaultLogger(java.io.PrintStream out,
int msgOutputLevel)
Constructs a new logger which will write to the specified PrintStream. |
Method Summary | |
void |
buildFinished(BuildEvent event)
Prints whether the build succeeded or failed, and any errors the occured during the build. |
void |
buildStarted(BuildEvent event)
Fired before any targets are started. |
void |
messageLogged(BuildEvent event)
Fired whenever a message is logged. |
void |
targetFinished(BuildEvent event)
Fired when a target has finished. |
void |
targetStarted(BuildEvent event)
Fired when a target is started. |
void |
taskFinished(BuildEvent event)
Fired when a task has finished. |
void |
taskStarted(BuildEvent event)
Fired when a task is started. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultLogger(java.io.PrintStream out, int msgOutputLevel)
Method Detail |
public void buildStarted(BuildEvent event)
BuildListener
buildStarted
in interface BuildListener
public void buildFinished(BuildEvent event)
buildFinished
in interface BuildListener
org.apache.tools.ant.BuildListener
BuildEvent.getException()
public void targetStarted(BuildEvent event)
BuildListener
targetStarted
in interface BuildListener
org.apache.tools.ant.BuildListener
BuildEvent.getTarget()
public void targetFinished(BuildEvent event)
BuildListener
targetFinished
in interface BuildListener
org.apache.tools.ant.BuildListener
BuildEvent.getException()
public void taskStarted(BuildEvent event)
BuildListener
taskStarted
in interface BuildListener
org.apache.tools.ant.BuildListener
BuildEvent.getTask()
public void taskFinished(BuildEvent event)
BuildListener
taskFinished
in interface BuildListener
org.apache.tools.ant.BuildListener
BuildEvent.getException()
public void messageLogged(BuildEvent event)
BuildListener
messageLogged
in interface BuildListener
org.apache.tools.ant.BuildListener
BuildEvent.getMessage()
,
BuildEvent.getPriority()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |