Encapsulates a build specific event.
<
p>We have three sources of events all handled by this class:
<
p> 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$ |
package |
phing |
__construct($source)
setMessage($message, $priority)
setException($exception)
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
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
getMessage() : string
string
The log message
getPriority() : integer
integer
The message priority
getException() : \Exception
This field will only be set for "taskFinished", "targetFinished", and "buildFinished" events.
see | \BuildListener::taskFinished() \BuildListener::targetFinished() \BuildListener::buildFinished() |
---|
\Exception
getSource()
toString()
priority : string
var | |
---|---|
see |
string
exception : object
var |
---|
object
source :