Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tools.ant
Interface BuildListener

All Superinterfaces:
  java.util.EventListener

All Known Subinterfaces:
  BuildLogger

All Known Implementing Classes:
  XmlLogger, AntSoundPlayer

public interface BuildListener
extends java.util.EventListener

Classes that implement this interface will be notified when things happend during a build.

See Also:
  `BuildEvent`, `Project.addBuildListener(BuildListener)`

Method Summary
`void` | `buildFinished(BuildEvent event)` Fired after the last target has finished.
`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.

Method Detail

### buildStarted

    public void buildStarted(BuildEvent event)

  Fired before any targets are started.

### buildFinished

    public void buildFinished(BuildEvent event)

  Fired after the last target has finished. This event will still be thrown if an error occured during the build.
  See Also:
    `BuildEvent.getException()`

### targetStarted

    public void targetStarted(BuildEvent event)

  Fired when a target is started.
  See Also:
    `BuildEvent.getTarget()`

### targetFinished

    public void targetFinished(BuildEvent event)

  Fired when a target has finished. This event will still be thrown if an error occured during the build.
  See Also:
    `BuildEvent.getException()`

### taskStarted

    public void taskStarted(BuildEvent event)

  Fired when a task is started.
  See Also:
    `BuildEvent.getTask()`

### taskFinished

    public void taskFinished(BuildEvent event)

  Fired when a task has finished. This event will still be throw if an error occured during the build.
  See Also:
    `BuildEvent.getException()`

### messageLogged

    public void messageLogged(BuildEvent event)

  Fired whenever a message is logged.
  See Also:
    `BuildEvent.getMessage()`, `BuildEvent.getPriority()`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000 Apache Software Foundation. All Rights Reserved.