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.
\ProjectThe 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.
\TargetThe 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.
\TaskThe task that fired this event
getMessage() : string
stringThe log message
getPriority() : integer
integerThe 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 :