public class SequentialMultiInstanceActivityBehavior 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 |
---|
SequentialMultiInstanceActivityBehavior() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 SequentialMultiInstanceActivityBehavior()
protected void createInstances(ActivityExecution execution, int nrOfInstances) throws Exception
createInstances
in class MultiInstanceActivityBehavior
Exception
public void complete(ActivityExecution scopeExecution)
public void concurrentChildExecutionEnded(ActivityExecution scopeExecution, ActivityExecution endedExecution)
CompositeActivityBehavior
scopeExecution
- scope execution for the activity which defined the behaviorendedExecution
- the execution which endedpublic 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.