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
 boolean activeConcurrentExecutionsExist(ActivityExecution execution)
           
 void execute(ActivityExecution execution)
          Default behaviour: just leave the activity with no extra functionality.
protected  List<? extends ActivityExecution> getLeaveExecutions(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
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

getLeaveExecutions

protected List<? extends ActivityExecution> getLeaveExecutions(ActivityExecution parent)

activeConcurrentExecutionsExist

public boolean activeConcurrentExecutionsExist(ActivityExecution execution)

isReachable

protected boolean isReachable(PvmActivity srcActivity,
                              PvmActivity targetActivity,
                              Set<PvmActivity> visitedActivities)


Copyright © 2016 camunda services GmbH. All rights reserved.