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

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
      extended by org.camunda.bpm.engine.impl.bpmn.behavior.MultiInstanceActivityBehavior
          extended by org.camunda.bpm.engine.impl.bpmn.behavior.ParallelMultiInstanceActivityBehavior
All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>, ActivityBehavior, CompositeActivityBehavior, SignallableActivityBehavior

public class ParallelMultiInstanceActivityBehavior
extends MultiInstanceActivityBehavior

Author:
Daniel Meyer

Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.MultiInstanceActivityBehavior
collectionElementVariable, collectionExpression, collectionVariable, completionConditionExpression, LOGGER, LOOP_COUNTER, loopCardinalityExpression, NUMBER_OF_ACTIVE_INSTANCES, NUMBER_OF_COMPLETED_INSTANCES, NUMBER_OF_INSTANCES
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
 
Constructor Summary
ParallelMultiInstanceActivityBehavior()
           
 
Method Summary
protected  boolean allExecutionsEnded(ActivityExecution scopeExecution, ActivityExecution endedExecution)
           
 void complete(ActivityExecution scopeExecution)
           
 void concurrentChildExecutionEnded(ActivityExecution scopeExecution, ActivityExecution endedExecution)
          Invoked when an execution is ended within the scope of the composite
protected  void createInstances(ActivityExecution execution, int nrOfInstances)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.MultiInstanceActivityBehavior
completionConditionSatisfied, evaluateCollectionVariable, execute, getCollectionElementVariable, getCollectionExpression, getCollectionVariable, getCompletionConditionExpression, getElementAtIndex, getLocalLoopVariable, getLoopCardinalityExpression, getLoopVariable, performInstance, resolveLoopCardinality, resolveNrOfInstances, setCollectionElementVariable, setCollectionExpression, setCollectionVariable, setCompletionConditionExpression, setLoopCardinalityExpression, setLoopVariable, usesCollection
 
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
 

Constructor Detail

ParallelMultiInstanceActivityBehavior

public ParallelMultiInstanceActivityBehavior()
Method Detail

createInstances

protected void createInstances(ActivityExecution execution,
                               int nrOfInstances)
                        throws Exception
Specified by:
createInstances in class MultiInstanceActivityBehavior
Throws:
Exception

concurrentChildExecutionEnded

public void concurrentChildExecutionEnded(ActivityExecution scopeExecution,
                                          ActivityExecution endedExecution)
Description copied from interface: CompositeActivityBehavior
Invoked when an execution is ended within the scope of the composite

Parameters:
scopeExecution - scope execution for the activity which defined the behavior
endedExecution - the execution which ended

allExecutionsEnded

protected boolean allExecutionsEnded(ActivityExecution scopeExecution,
                                     ActivityExecution endedExecution)

complete

public void complete(ActivityExecution scopeExecution)


Copyright © 2015 camunda services GmbH. All rights reserved.