org.activiti.engine.impl.bpmn.behavior
类 ParallelGatewayActivityBehavior
java.lang.Object
org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.activiti.engine.impl.bpmn.behavior.GatewayActivityBehavior
org.activiti.engine.impl.bpmn.behavior.ParallelGatewayActivityBehavior
- 所有已实现的接口:
- Serializable, ActivityBehavior, SignallableActivityBehavior
public class ParallelGatewayActivityBehavior
- extends GatewayActivityBehavior
Implementation of the Parallel Gateway/AND gateway as definined in the BPMN
2.0 specification.
The Parallel Gateway can be used for splitting a path of execution into
multiple paths of executions (AND-split/fork behavior), one for every
outgoing sequence flow.
The Parallel Gateway can also be used for merging or joining paths of
execution (AND-join). In this case, on every incoming sequence flow an
execution needs to arrive, before leaving the Parallel Gateway (and
potentially then doing the fork behavior in case of multiple outgoing
sequence flow).
Note that there is a slight difference to spec (p. 436): "The parallel
gateway is activated if there is at least one Token on each incoming sequence
flow." We only check the number of incoming tokens to the number of sequenceflow.
So if two tokens would arrive through the same sequence flow, our implementation
would activate the gateway.
Note that a Parallel Gateway having one incoming and multiple ougoing
sequence flow, is the same as having multiple outgoing sequence flow on a
given activity. However, a parallel gateway does NOT check conditions on the
outgoing sequence flow.
- 作者:
- Joram Barrez, Tom Baeyens
- 另请参见:
- 序列化表格
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParallelGatewayActivityBehavior
public ParallelGatewayActivityBehavior()
execute
public void execute(ActivityExecution execution)
throws Exception
- 从类
FlowNodeActivityBehavior
复制的描述
- Default behaviour: just leave the activity with no extra functionality.
- 指定者:
- 接口
ActivityBehavior
中的 execute
- 覆盖:
- 类
FlowNodeActivityBehavior
中的 execute
- 抛出:
Exception
Copyright © 2013 Alfresco. All rights reserved.