[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/phing/ -> BuildEvent.php (sommaire)

(pas de description)

Poids: 205 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

BuildEvent:: (9 méthodes):
  __construct()
  setMessage()
  setException()
  getProject()
  getTarget()
  getTask()
  getMessage()
  getPriority()
  getException()


Classe: BuildEvent  - X-Ref

Encapsulates a build specific event.

<p>We have three sources of events all handled by this class:

<ul>
<li>Project level events</li>
<li>Target level events</li>
<li>Task level events</li>
</ul>

<p> Events are all fired from the project class by creating an event object
using this class and passing it to the listeners.

__construct($source)   X-Ref
Construct a BuildEvent for a project, task or target source event

param: object  project the project that emitted the event.

setMessage($message, $priority)   X-Ref
Sets the message with details and the message priority for this event.

param: string   The string message of the event
param: integer  The priority this message should have

setException($exception)   X-Ref
Set the exception that was the cause of this event.

param: Exception The exception that caused the event

getProject()   X-Ref
Returns the project instance that fired this event.

The reference to the project instance is set by the constructor if this
event was fired from the project class.

return: Project  The project instance that fired this event

getTarget()   X-Ref
Returns the target instance that fired this event.

The reference to the target instance is set by the constructor if this
event was fired from the target class.

return: object  The target that fired this event

getTask()   X-Ref
Returns the target instance that fired this event.

The reference to the task instance is set by the constructor if this
event was fired within a task.

return: object  The task that fired this event

getMessage()   X-Ref
Returns the logging message. This field will only be set for
"messageLogged" events.

return: string   The log message

getPriority()   X-Ref
Returns the priority of the logging message. This field will only
be set for "messageLogged" events.

return: integer  The message priority

getException()   X-Ref
Returns the exception that was thrown, if any.
This field will only be set for "taskFinished", "targetFinished", and
"buildFinished" events.




Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7