Property | Type | Description | |
---|---|---|---|
$listeners | array | Listeners. |
Method | Description | |
---|---|---|
addListener ( ezcWorkflowExecutionListener $listener ) : boolean | Adds a listener. | |
afterExecutionCancelled ( ezcWorkflowExecution $execution ) | Called after an execution has been cancelled. | |
afterExecutionEnded ( ezcWorkflowExecution $execution ) | Called after an execution has successfully ended. | |
afterExecutionResumed ( ezcWorkflowExecution $execution ) | Called after an execution has been resumed. | |
afterExecutionStarted ( ezcWorkflowExecution $execution ) | Called after an execution has been started. | |
afterExecutionSuspended ( ezcWorkflowExecution $execution ) | Called after an execution has been suspended. | |
afterNodeActivated ( ezcWorkflowExecution $execution, ezcWorkflowNode $node ) | Called after a node has been activated. | |
afterNodeExecuted ( ezcWorkflowExecution $execution, ezcWorkflowNode $node ) | Called after a node has been executed. | |
afterThreadEnded ( ezcWorkflowExecution $execution, integer $threadId ) | Called after a thread has ended. | |
afterThreadStarted ( ezcWorkflowExecution $execution, integer $threadId, integer $parentId, integer $numSiblings ) | Called after a new thread has been started. | |
afterVariableSet ( ezcWorkflowExecution $execution, string $variableName, mixed $value ) | Called after a variable has been set. | |
afterVariableUnset ( ezcWorkflowExecution $execution, string $variableName ) | Called after a variable has been unset. | |
removeListener ( ezcWorkflowExecutionListener $listener ) : boolean | Removes a listener. |
Method | Description | |
---|---|---|
notifyListeners ( string $message, integer $type = ezcWorkflowExecutionListener::INFO ) | Notify listeners. |
public addListener ( ezcWorkflowExecutionListener $listener ) : boolean | ||
$listener | ezcWorkflowExecutionListener | |
return | boolean | true when the listener was added, false otherwise. |
public afterExecutionCancelled ( ezcWorkflowExecution $execution ) | ||
$execution | ezcWorkflowExecution |
public afterExecutionEnded ( ezcWorkflowExecution $execution ) | ||
$execution | ezcWorkflowExecution |
public afterExecutionResumed ( ezcWorkflowExecution $execution ) | ||
$execution | ezcWorkflowExecution |
public afterExecutionStarted ( ezcWorkflowExecution $execution ) | ||
$execution | ezcWorkflowExecution |
public afterExecutionSuspended ( ezcWorkflowExecution $execution ) | ||
$execution | ezcWorkflowExecution |
public afterNodeActivated ( ezcWorkflowExecution $execution, ezcWorkflowNode $node ) | ||
$execution | ezcWorkflowExecution | |
$node | ezcWorkflowNode |
public afterNodeExecuted ( ezcWorkflowExecution $execution, ezcWorkflowNode $node ) | ||
$execution | ezcWorkflowExecution | |
$node | ezcWorkflowNode |
public afterThreadEnded ( ezcWorkflowExecution $execution, integer $threadId ) | ||
$execution | ezcWorkflowExecution | |
$threadId | integer |
public afterVariableSet ( ezcWorkflowExecution $execution, string $variableName, mixed $value ) | ||
$execution | ezcWorkflowExecution | |
$variableName | string | |
$value | mixed |
public afterVariableUnset ( ezcWorkflowExecution $execution, string $variableName ) | ||
$execution | ezcWorkflowExecution | |
$variableName | string |
protected notifyListeners ( string $message, integer $type = ezcWorkflowExecutionListener::INFO ) | ||
$message | string | |
$type | integer |
public removeListener ( ezcWorkflowExecutionListener $listener ) : boolean | ||
$listener | ezcWorkflowExecutionListener | |
return | boolean | true when the listener was removed, false otherwise. |