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

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.SequentialMultiInstanceActivityBehavior
All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>, ActivityBehavior, CompositeActivityBehavior, SignallableActivityBehavior

public class SequentialMultiInstanceActivityBehavior
extends MultiInstanceActivityBehavior

Author:
Daniel Meyer, Thorben Lindhauer

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
SequentialMultiInstanceActivityBehavior()
           
 
Method Summary
 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

SequentialMultiInstanceActivityBehavior

public SequentialMultiInstanceActivityBehavior()
Method Detail

createInstances

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

complete

public void complete(ActivityExecution scopeExecution)

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


Copyright © 2015 camunda services GmbH. All rights reserved.