org.activiti.engine.impl.bpmn.behavior
类 ExclusiveGatewayActivityBehavior
java.lang.Object
org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.activiti.engine.impl.bpmn.behavior.GatewayActivityBehavior
org.activiti.engine.impl.bpmn.behavior.ExclusiveGatewayActivityBehavior
- 所有已实现的接口:
- Serializable, ActivityBehavior, SignallableActivityBehavior
public class ExclusiveGatewayActivityBehavior
- extends GatewayActivityBehavior
implementation of the Exclusive Gateway/XOR gateway/exclusive data-based gateway
as defined in the BPMN specification.
- 作者:
- Joram Barrez
- 另请参见:
- 序列化表格
方法摘要 |
protected void |
leave(ActivityExecution execution)
The default behaviour of BPMN, taking every outgoing sequence flow
(where the condition evaluates to true), is not valid for an exclusive
gateway. |
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExclusiveGatewayActivityBehavior
public ExclusiveGatewayActivityBehavior()
leave
protected void leave(ActivityExecution execution)
- The default behaviour of BPMN, taking every outgoing sequence flow
(where the condition evaluates to true), is not valid for an exclusive
gateway.
Hence, this behaviour is overriden and replaced by the correct behavior:
selecting the first sequence flow which condition evaluates to true
(or which hasn't got a condition) and leaving the activity through that
sequence flow.
If no sequence flow is selected (ie all conditions evaluate to false),
then the default sequence flow is taken (if defined).
- 覆盖:
- 类
FlowNodeActivityBehavior
中的 leave
Copyright © 2013 Alfresco. All rights reserved.