PHP 클래스 ezcWorkflowNodeMerge, Workflow

상속: extends ezcWorkflowNode
파일 보기 프로젝트 열기: zetacomponents/workflow 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$maxInNodes integer Constraint: The maximum number of incoming nodes this node has to have to be valid.
$minInNodes integer Constraint: The minimum number of incoming nodes this node has to have to be valid.
$state array The state of this node.

공개 메소드들

메소드 설명
initState ( ) Initializes the state of this node.

보호된 메소드들

메소드 설명
doMerge ( ezcWorkflowExecution $execution ) : boolean Performs the merge by ending the incoming threads and activating the outgoing node.
prepareActivate ( ezcWorkflowExecution $execution, integer $threadId ) Prepares this node for activation.

메소드 상세

doMerge() 보호된 메소드

Performs the merge by ending the incoming threads and activating the outgoing node.
protected doMerge ( ezcWorkflowExecution $execution ) : boolean
$execution ezcWorkflowExecution
리턴 boolean true when the node finished execution, and false otherwise

initState() 공개 메소드

Initializes the state of this node.
public initState ( )

prepareActivate() 보호된 메소드

Prepares this node for activation.
protected prepareActivate ( ezcWorkflowExecution $execution, integer $threadId )
$execution ezcWorkflowExecution
$threadId integer

프로퍼티 상세

$maxInNodes 보호되어 있는 프로퍼티

Constraint: The maximum number of incoming nodes this node has to have to be valid.
protected int $maxInNodes
리턴 integer

$minInNodes 보호되어 있는 프로퍼티

Constraint: The minimum number of incoming nodes this node has to have to be valid.
protected int $minInNodes
리턴 integer

$state 보호되어 있는 프로퍼티

The state of this node.
protected array $state
리턴 array