org.camunda.bpm.engine.impl.bpmn.behavior
Class InclusiveGatewayActivityBehavior

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
      extended by org.camunda.bpm.engine.impl.bpmn.behavior.GatewayActivityBehavior
          extended by 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
protected static BpmnBehaviorLogger LOG
           
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
 
Constructor Summary
InclusiveGatewayActivityBehavior()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static BpmnBehaviorLogger LOG
Constructor Detail

InclusiveGatewayActivityBehavior

public InclusiveGatewayActivityBehavior()
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 interface CoreActivityBehavior<ActivityExecution>
Specified by:
execute in interface ActivityBehavior
Overrides:
execute in class FlowNodeActivityBehavior
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)


Copyright © 2017 camunda services GmbH. All rights reserved.