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
另请参见:
序列化表格

字段摘要
 
从类 org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior 继承的字段
bpmnActivityBehavior
 
构造方法摘要
ExclusiveGatewayActivityBehavior()
           
 
方法摘要
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.
 
从类 org.activiti.engine.impl.bpmn.behavior.GatewayActivityBehavior 继承的方法
lockConcurrentRoot
 
从类 org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior 继承的方法
execute, leaveIgnoreConditions, signal
 
从类 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.