public class ParallelMultiInstanceActivityBehavior extends MultiInstanceActivityBehavior
collectionElementVariable, collectionExpression, collectionVariable, completionConditionExpression, LOGGER, LOOP_COUNTER, loopCardinalityExpression, NUMBER_OF_ACTIVE_INSTANCES, NUMBER_OF_COMPLETED_INSTANCES, NUMBER_OF_INSTANCES
bpmnActivityBehavior
Constructor and Description |
---|
ParallelMultiInstanceActivityBehavior() |
Modifier and Type | Method and Description |
---|---|
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
|
void |
concurrentExecutionCreated(ActivityExecution scopeExecution,
ActivityExecution concurrentExecution)
implement to handle reorganization of the scope when a concurrent execution in the scope is created
(e.g.
|
void |
concurrentExecutionDeleted(ActivityExecution scopeExecution,
ActivityExecution concurrentExecution)
implement to handle reorganization of the scope when a concurrent execution in the scope is removed
(e.g.
|
protected void |
createInstances(ActivityExecution execution,
int nrOfInstances) |
ActivityExecution |
initializeScope(ActivityExecution scopeExecution)
Implement to customize the creation of executions in the scope.
|
protected void |
prepareScopeExecution(ActivityExecution scopeExecution,
int nrOfInstances) |
completionConditionSatisfied, evaluateCollectionVariable, execute, getCollectionElementVariable, getCollectionExpression, getCollectionVariable, getCompletionConditionExpression, getElementAtIndex, getLocalLoopVariable, getLoopCardinalityExpression, getLoopVariable, performInstance, resolveLoopCardinality, resolveNrOfInstances, setCollectionElementVariable, setCollectionExpression, setCollectionVariable, setCompletionConditionExpression, setLoopCardinalityExpression, setLoopVariable, usesCollection
leave, leaveIgnoreConditions, signal
public ParallelMultiInstanceActivityBehavior()
protected void createInstances(ActivityExecution execution, int nrOfInstances) throws Exception
createInstances
in class MultiInstanceActivityBehavior
Exception
protected void prepareScopeExecution(ActivityExecution scopeExecution, int nrOfInstances)
public void concurrentChildExecutionEnded(ActivityExecution scopeExecution, ActivityExecution endedExecution)
CompositeActivityBehavior
scopeExecution
- scope execution for the activity which defined the behaviorendedExecution
- the execution which endedprotected boolean allExecutionsEnded(ActivityExecution scopeExecution, ActivityExecution endedExecution)
public void complete(ActivityExecution scopeExecution)
public ActivityExecution initializeScope(ActivityExecution scopeExecution)
ModificationObserverBehavior
public void concurrentExecutionCreated(ActivityExecution scopeExecution, ActivityExecution concurrentExecution)
ModificationObserverBehavior
public void concurrentExecutionDeleted(ActivityExecution scopeExecution, ActivityExecution concurrentExecution)
ModificationObserverBehavior
Copyright © 2018. All rights reserved.