Encapsulates a build specific event.
We have three sources of events all handled by this class:
Events are all fired from the project class by creating an event object using this class and passing it to the listeners.
author |
Andreas Aderhold andi@binarycloud.com |
---|---|
author |
Hans Lellelid hans@xmpl.org |
version |
$Id: 430a735f16646918e01eb482a8ff6b86cbb2d3d2 $ |
package |
phing |
__construct( $source)
getException() : \Exception
This field will only be set for "taskFinished", "targetFinished", and "buildFinished" events.
see | \BuildListener::taskFinished() \BuildListener::targetFinished() \BuildListener::buildFinished() |
---|---|
\Exception
getMessage() : string
string
The log message
getPriority() : integer
integer
The message priority
getProject() : \Project
The reference to the project instance is set by the constructor if this event was fired from the project class.
\Project
The project instance that fired this event
getSource()
getTarget() : \Target
The reference to the target instance is set by the constructor if this event was fired from the target class.
\Target
The target that fired this event
getTask() : \Task
The reference to the task instance is set by the constructor if this event was fired within a task.
\Task
The task that fired this event
setException( $exception)
setMessage( $message, $priority)
toString()
priority : string
var | |
---|---|
see |
string
exception : object
var |
---|
object
source :