Workflow: ezcWorkflowNodeConditionalBranch
[ ]
[ Theoretical background ]
[ ]
[ ]
[ ]
[ ]
Class: ezcWorkflowNodeConditionalBranch
|
Abstract base class for nodes that conditionally branch multiple threads of execution. [
source]
Most implementations only need to set the conditions for proper functioning.
Parents
ezcWorkflowNode
|
--ezcWorkflowNodeBranch
|
--ezcWorkflowNodeConditionalBranch
Descendents
Inherited Constants
From
ezcWorkflowNode:
Member Variables
|
protected array( |
$configuration
= array( 'condition' => array(),'else'=>array())
Holds the conditions of the out nodes.
The key is the position of the out node in the array of out nodes. |
|
protected integer |
$maxActivatedConditionalOutNodes
= false
Constraint: The maximum number of conditional outgoing nodes this node may activate. Set to false to disable this constraint. |
|
protected integer |
$minActivatedConditionalOutNodes
= false
Constraint: The minimum number of conditional outgoing nodes this node has to activate. Set to false to disable this constraint. |
|
protected integer |
$minConditionalOutNodes
= false
Constraint: The minimum number of conditional outgoing nodes this node has to have. Set to false to disable this constraint. |
Inherited Member Variables
From
ezcWorkflowNodeBranch:
From
ezcWorkflowNode:
Method Summary
|
public ezcWorkflowNode |
addConditionalOutNode(
$condition, $outNode, [$else = null] )
Adds the conditional outgoing node $outNode to this node with the condition $condition. Optionally, an $else node can be specified that is activated when the $condition evaluates to false. |
|
public void |
verify(
)
Checks this node's constraints. |
Inherited Methods
From
ezcWorkflowNodeBranch :
From
ezcWorkflowNode :
Methods
addConditionalOutNode
Adds the conditional outgoing node $outNode to this node with the condition $condition. Optionally, an $else node can be specified that is activated when the $condition evaluates to false.
Parameters
verify
void verify(
)
Checks this node's constraints.
Throws
| Class | Description |
ezcWorkflowInvalidWorkflowException |
if the constraints of this node are not met. |
Redefinition of
Last updated: Tue, 02 Dec 2008