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 |
---|---|
author | Hans Lellelid |
version | $Id$ |
package | phing |
__construct(object $source)
object
project the project that emitted the event.
getException() : \Exception
This field will only be set for "taskFinished", "targetFinished", and "buildFinished" events.
see | \global\BuildListener::taskFinished() |
---|---|
see | \global\BuildListener::targetFinished() |
see | \global\BuildListener::buildFinished() |
getMessage() : string
This field will only be set for "messageLogged" events.
string
The log messagegetPriority() : integer
This field will only be set for "messageLogged" events.
integer
The message prioritygetProject() : \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 eventgetSource()
inherited_from | \EventObject::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 eventgetTask() : \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 eventsetMessage(string $message, integer $priority)
string
The string message of the event
integer
The priority this message should have
toString()
inherited_from | \EventObject::toString() |
---|
$exception : object
$priority : string
see | \global\$message |
---|
$project : \Project
$source
inherited_from | \EventObject::$$source |
---|
$target : \Target
$task : \Task