org.apache.tools.ant
Interface BuildListener
- EventListener
- BuildLogger, SubBuildListener
- AnsiColorLogger, AntClassLoader, AntClassLoader2, AntSoundPlayer, CommonsLoggingListener, DefaultLogger, IntrospectionHelper, Log4jListener, MailLogger, NoBannerLogger, RecorderEntry, XmlLogger
public interface BuildListener
extends EventListener
Instances of classes that implement this interface can register
to be notified when things happened during a build.
BuildEvent
, Project.addBuildListener(BuildListener)
buildFinished
public void buildFinished(BuildEvent event)
Signals that the last target has finished. This event
will still be fired if an error occurred during the build.
event
- An event with any relevant extra information.
Must not be null
.
BuildEvent.getException()
buildStarted
public void buildStarted(BuildEvent event)
Signals that a build has started. This event
is fired before any targets have started.
event
- An event with any relevant extra information.
Must not be null
.
targetFinished
public void targetFinished(BuildEvent event)
Signals that a target has finished. This event will
still be fired if an error occurred during the build.
event
- An event with any relevant extra information.
Must not be null
.
BuildEvent.getException()
targetStarted
public void targetStarted(BuildEvent event)
Signals that a target is starting.
event
- An event with any relevant extra information.
Must not be null
.
BuildEvent.getTarget()
taskFinished
public void taskFinished(BuildEvent event)
Signals that a task has finished. This event will still
be fired if an error occurred during the build.
event
- An event with any relevant extra information.
Must not be null
.
BuildEvent.getException()
taskStarted
public void taskStarted(BuildEvent event)
Signals that a task is starting.
event
- An event with any relevant extra information.
Must not be null
.
BuildEvent.getTask()
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.