public class ConsoleBuildListener extends Object implements org.apache.tools.ant.BuildListener
| Constructor and Description |
|---|
ConsoleBuildListener()
Default constructor.
|
ConsoleBuildListener(MicronautConsole ui) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildFinished(org.apache.tools.ant.BuildEvent finish)
Signals that the last target has finished.
|
void |
buildStarted(org.apache.tools.ant.BuildEvent start)
Signals that a build has started.
|
void |
messageLogged(org.apache.tools.ant.BuildEvent event)
When a message is sent to this logger, Ant calls this method.
|
void |
targetFinished(org.apache.tools.ant.BuildEvent finish)
Signals that a target has finished.
|
void |
targetStarted(org.apache.tools.ant.BuildEvent start)
Signals that a target is starting.
|
void |
taskFinished(org.apache.tools.ant.BuildEvent finish)
Signals that a task has finished.
|
void |
taskStarted(org.apache.tools.ant.BuildEvent start)
Signals that a task is starting.
|
public ConsoleBuildListener()
public ConsoleBuildListener(MicronautConsole ui)
ui - The Micronaut consolepublic final void buildStarted(org.apache.tools.ant.BuildEvent start)
Signals that a build has started. This event is fired before any targets have started.
buildStarted in interface org.apache.tools.ant.BuildListenerstart - An event with any relevant extra information.
Must not be null.public final void buildFinished(org.apache.tools.ant.BuildEvent finish)
Signals that the last target has finished. This event will still be fired if an error occurred during the build.
buildFinished in interface org.apache.tools.ant.BuildListenerfinish - An event with any relevant extra information.
Must not be null.BuildEvent.getException()public final void targetStarted(org.apache.tools.ant.BuildEvent start)
Signals that a target is starting.
targetStarted in interface org.apache.tools.ant.BuildListenerstart - An event with any relevant extra information.
Must not be null.BuildEvent.getTarget()public final void targetFinished(org.apache.tools.ant.BuildEvent finish)
Signals that a target has finished. This event will still be fired if an error occurred during the build.
targetFinished in interface org.apache.tools.ant.BuildListenerfinish - An event with any relevant extra information.
Must not be null.BuildEvent.getException()public final void taskStarted(org.apache.tools.ant.BuildEvent start)
Signals that a task is starting.
taskStarted in interface org.apache.tools.ant.BuildListenerstart - An event with any relevant extra information.
Must not be null.BuildEvent.getTask()public final void taskFinished(org.apache.tools.ant.BuildEvent finish)
Signals that a task has finished. This event will still be fired if an error occurred during the build.
taskFinished in interface org.apache.tools.ant.BuildListenerfinish - An event with any relevant extra information.
Must not be null.BuildEvent.getException()public void messageLogged(org.apache.tools.ant.BuildEvent event)
When a message is sent to this logger, Ant calls this method.
messageLogged in interface org.apache.tools.ant.BuildListenerevent - An event with any relevant extra information.
Must not be null.BuildEvent.getMessage(),
BuildEvent.getPriority()