BuildListener.php
Interface for build listeners.
Classes that implement a listener must extend this class and (faux)implement all methods that are decleard as dummies below.
- Author
- Andreas Aderhold
- Author
- Hans Lellelid
- Package
- phing
- See
- \BuildEvent
- See
- \Project::addBuildListener()
- Version
- $Id$
\BuildListener
Package: phing
Interface for build listeners.
Classes that implement a listener must extend this class and (faux)implement all methods that are decleard as dummies below.
- Children
- \PearLogListener
- \BuildLogger
- See
- \BuildEvent
- See
- \Project::addBuildListener()
- Author
- Andreas Aderhold
- Author
- Hans Lellelid
- Version
- $Id$
Methods


buildFinished(
\BuildEvent $event
)
:
void
Fired after the last target has finished.
Parameters
Details
Name | Type | Description |
---|---|---|
$event | \BuildEvent | The BuildEvent |


buildStarted(
\BuildEvent $event
)
:
void
Fired before any targets are started.
Parameters
Name | Type | Description |
---|---|---|
$event | \BuildEvent | The BuildEvent |


messageLogged(
\BuildEvent $event
)
:
void
Fired whenever a message is logged.
Parameters
Details
Name | Type | Description |
---|---|---|
$event | \BuildEvent | The BuildEvent |


targetFinished(
\BuildEvent $event
)
:
void
Fired when a target has finished.
Parameters
Details
Name | Type | Description |
---|---|---|
$event | \BuildEvent | The BuildEvent |
- See
- \BuildEvent#getException()


targetStarted(
\BuildEvent $event
)
:
void
Fired when a target is started.
Parameters
Details
Name | Type | Description |
---|---|---|
$event | \BuildEvent | The BuildEvent |


taskFinished(
\BuildEvent $event
)
:
void
Fired when a task has finished.
Parameters
Details
Name | Type | Description |
---|---|---|
$event | \BuildEvent | The BuildEvent |


taskStarted(
\BuildEvent $event
)
:
void
Fired when a task is started.
Parameters
Details
Name | Type | Description |
---|---|---|
$event | \BuildEvent | The BuildEvent |