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 BpmnBehaviorLogger
LOG
-
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 boolean
activatesGateway(ActivityExecution execution, PvmActivity gatewayActivity)
protected boolean
canReachActivity(ActivityExecution execution, PvmActivity activity)
void
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.protected Collection<ActivityExecution>
getLeafExecutions(ActivityExecution parent)
protected boolean
isReachable(PvmActivity srcActivity, PvmActivity targetActivity, 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 Exception
Description copied from class:FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.- Specified by:
execute
in interfaceActivityBehavior
- Specified by:
execute
in interfaceCoreActivityBehavior<ActivityExecution>
- Overrides:
execute
in classFlowNodeActivityBehavior
- Throws:
Exception
-
getLeafExecutions
protected 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, Set<PvmActivity> visitedActivities)
-
-