Class InclusiveGatewayActivityBehavior
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.GatewayActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.InclusiveGatewayActivityBehavior
-
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>,ActivityBehavior,SignallableActivityBehavior
public class InclusiveGatewayActivityBehavior extends GatewayActivityBehavior
Implementation of the Inclusive Gateway/OR gateway/inclusive data-based gateway as defined in the BPMN specification.- Author:
- Tijs Rademakers, Tom Van Buskirk, Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected static BpmnBehaviorLoggerLOG-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
-
Constructor Summary
Constructors Constructor Description InclusiveGatewayActivityBehavior()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanactivatesGateway(ActivityExecution execution, PvmActivity gatewayActivity)protected booleancanReachActivity(ActivityExecution execution, PvmActivity activity)voidexecute(ActivityExecution execution)Default behaviour: just leave the activity with no extra functionality.protected java.util.Collection<ActivityExecution>getLeafExecutions(ActivityExecution parent)protected booleanisReachable(PvmActivity srcActivity, PvmActivity targetActivity, java.util.Set<PvmActivity> visitedActivities)-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.GatewayActivityBehavior
lockConcurrentRoot
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
doLeave, leave, leaveIgnoreConditions, signal
-
-
-
-
Field Detail
-
LOG
protected static BpmnBehaviorLogger LOG
-
-
Method Detail
-
execute
public void execute(ActivityExecution execution) throws java.lang.Exception
Description copied from class:FlowNodeActivityBehaviorDefault behaviour: just leave the activity with no extra functionality.- Specified by:
executein interfaceActivityBehavior- Specified by:
executein interfaceCoreActivityBehavior<ActivityExecution>- Overrides:
executein classFlowNodeActivityBehavior- Throws:
java.lang.Exception
-
getLeafExecutions
protected java.util.Collection<ActivityExecution> getLeafExecutions(ActivityExecution parent)
-
activatesGateway
protected boolean activatesGateway(ActivityExecution execution, PvmActivity gatewayActivity)
-
canReachActivity
protected boolean canReachActivity(ActivityExecution execution, PvmActivity activity)
-
isReachable
protected boolean isReachable(PvmActivity srcActivity, PvmActivity targetActivity, java.util.Set<PvmActivity> visitedActivities)
-
-