public class ParallelMultiInstanceBehavior extends MultiInstanceActivityBehavior
activity, collectionElementIndexVariable, collectionElementVariable, collectionExpression, collectionVariable, completionConditionExpression, innerActivityBehavior, LOGGER, loopCardinalityExpression, NUMBER_OF_ACTIVE_INSTANCES, NUMBER_OF_COMPLETED_INSTANCES, NUMBER_OF_INSTANCES
bpmnActivityBehavior
Constructor and Description |
---|
ParallelMultiInstanceBehavior(org.activiti.bpmn.model.Activity activity,
AbstractBpmnActivityBehavior originalActivityBehavior) |
Modifier and Type | Method and Description |
---|---|
protected int |
createInstances(DelegateExecution execution)
Handles the parallel case of spawning the instances.
|
protected void |
deleteChildExecutions(ExecutionEntity parentExecution,
boolean deleteExecution,
CommandContext commandContext) |
void |
leave(DelegateExecution execution)
Called when the wrapped
ActivityBehavior calls the AbstractBpmnActivityBehavior#leave(ActivityExecution) method. |
protected void |
lockFirstParentScope(DelegateExecution execution) |
callActivityEndListeners, callCustomActivityStartListeners, completed, completing, completionConditionSatisfied, execute, executeCompensationBoundaryEvents, executeOriginalBehavior, findBoundaryEventsForFlowNode, getCollectionElementIndexVariable, getCollectionElementVariable, getCollectionExpression, getCollectionVariable, getCompletionConditionExpression, getInnerActivityBehavior, getLocalLoopVariable, getLoopCardinalityExpression, getLoopVariable, getMultiInstanceRootExecution, getProcessDefinition, isExtraScopeNeeded, lastExecutionEnded, logLoopDetails, removeLocalLoopVariable, resolveLoopCardinality, resolveNrOfInstances, setCollectionElementIndexVariable, setCollectionElementVariable, setCollectionExpression, setCollectionVariable, setCompletionConditionExpression, setInnerActivityBehavior, setLoopCardinalityExpression, setLoopVariable, trigger, usesCollection
leaveIgnoreConditions, parseActivityType
public ParallelMultiInstanceBehavior(org.activiti.bpmn.model.Activity activity, AbstractBpmnActivityBehavior originalActivityBehavior)
protected int createInstances(DelegateExecution execution)
createInstances
in class MultiInstanceActivityBehavior
public void leave(DelegateExecution execution)
ActivityBehavior
calls the AbstractBpmnActivityBehavior#leave(ActivityExecution)
method. Handles the completion of one of the parallel instancesleave
in class FlowNodeActivityBehavior
protected void lockFirstParentScope(DelegateExecution execution)
protected void deleteChildExecutions(ExecutionEntity parentExecution, boolean deleteExecution, CommandContext commandContext)
Copyright © 2015 Alfresco. All rights reserved.