Path

ez components / documentation / api reference / 2007.1.1 / workflow


eZ Components 2007.1.1

Workflow: ezcWorkflowNodeBranch

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcWorkflowNodeBranch

Base class for nodes that branch multiple threads of execution. [source]

Parents

ezcWorkflowNode
   |
   --ezcWorkflowNodeBranch

Descendents

Child Class Description
ezcWorkflowNodeConditionalBranch Abstract base class for nodes that conditionally branch multiple threads of execution.
ezcWorkflowNodeParallelSplit This node implements the Parallel Split workflow pattern.

Inherited Constants

From ezcWorkflowNode:
ezcWorkflowNode::WAITING_FOR_ACTIVATION    The node is waiting to be activated.
ezcWorkflowNode::WAITING_FOR_EXECUTION    The node is activated and waiting to be executed.

Member Variables

protected integer $maxInNodes = false
Constraint: The maximum number of incoming nodes this node has to have to be valid.
protected integer $maxOutNodes = false
Constraint: The maximum number of outgoing nodes this node has to have to be valid.
protected integer $minOutNodes = 2
Constraint: The minimum number of outgoing nodes this node has to have to be valid.

Inherited Member Variables

From ezcWorkflowNode:
protected  ezcWorkflowNode::$activatedFrom
protected  ezcWorkflowNode::$activationState
protected  ezcWorkflowNode::$configuration
protected  ezcWorkflowNode::$id
protected  ezcWorkflowNode::$inNodes
protected  ezcWorkflowNode::$internalCall
protected  ezcWorkflowNode::$minInNodes
protected  ezcWorkflowNode::$numInNodes
protected  ezcWorkflowNode::$numOutNodes
protected  ezcWorkflowNode::$outNodes
protected  ezcWorkflowNode::$state
protected  ezcWorkflowNode::$threadId

Method Summary

protected void activateOutgoingNodes( $execution, $nodes )
Activates this node's outgoing nodes.

Inherited Methods

From ezcWorkflowNode :
public ezcWorkflowNode ezcWorkflowNode::__construct()
Constructs a new node with the configuration $configuration.
public void ezcWorkflowNode::accept()
Reimplementation of accept() calls accept on all out nodes.
protected void ezcWorkflowNode::activateNode()
Convenience method for activating an (outgoing) node.
public ezcWorkflowNode ezcWorkflowNode::addInNode()
Adds a node to the incoming nodes of this node.
public ezcWorkflowNode ezcWorkflowNode::addOutNode()
Adds a node to the outgoing nodes of this node.
public mixed ezcWorkflowNode::getConfiguration()
Returns the configuration of this node.
public ezcWorkflowNode[] ezcWorkflowNode::getInNodes()
Returns the incoming nodes of this node.
public ezcWorkflowNode[] ezcWorkflowNode::getOutNodes()
Returns the outgoing nodes of this node.
protected void ezcWorkflowNode::initState()
Initializes the state of this node.
public boolean ezcWorkflowNode::removeInNode()
Removes a node from the incoming nodes of this node.
public boolean ezcWorkflowNode::removeOutNode()
Removes a node from the outgoing nodes of this node.
public void ezcWorkflowNode::verify()
Checks this node's constraints.

Methods

activateOutgoingNodes

void activateOutgoingNodes( ezcWorkflowExecution $execution, $nodes )
Activates this node's outgoing nodes.

Parameters

Name Type Description
$execution ezcWorkflowExecution  
$nodes array  

Last updated: Wed, 28 Nov 2007