public class SequentialMultiInstanceActivityBehavior extends MultiInstanceActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException| Modifier and Type | Field and Description |
|---|---|
protected static BpmnBehaviorLogger |
LOG |
collectionElementVariable, collectionExpression, collectionVariable, completionConditionExpression, LOOP_COUNTER, loopCardinalityExpression, NUMBER_OF_ACTIVE_INSTANCES, NUMBER_OF_COMPLETED_INSTANCES, NUMBER_OF_INSTANCESbpmnActivityBehavior| 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
|
ActivityExecution |
createInnerInstance(ActivityExecution scopeExecution)
Returns an execution that can be used to execute an activity within that scope.
|
protected void |
createInstances(ActivityExecution execution,
int nrOfInstances) |
void |
destroyInnerInstance(ActivityExecution scopeExecution)
implement to destroy an execution in this scope and handle the scope's reorganization
(e.g.
|
List<ActivityExecution> |
initializeScope(ActivityExecution scopeExecution,
int nrOfInstances)
Implement to customize initialization of the scope.
|
protected void |
prepareScope(ActivityExecution scopeExecution,
int totalNumberOfInstances) |
completionConditionSatisfied, doLeave, evaluateCollectionVariable, execute, getCollectionElementVariable, getCollectionExpression, getCollectionVariable, getCompletionConditionExpression, getElementAtIndex, getInnerActivity, getLocalLoopVariable, getLoopCardinalityExpression, getLoopVariable, hasLoopVariable, performInstance, removeLoopVariable, resolveLoopCardinality, resolveNrOfInstances, setCollectionElementVariable, setCollectionExpression, setCollectionVariable, setCompletionConditionExpression, setLoopCardinalityExpression, setLoopVariable, usesCollectioncheckIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDoneleave, leaveIgnoreConditionsprotected static final BpmnBehaviorLogger LOG
public SequentialMultiInstanceActivityBehavior()
protected void createInstances(ActivityExecution execution, int nrOfInstances) throws Exception
createInstances in class MultiInstanceActivityBehaviorExceptionpublic void complete(ActivityExecution scopeExecution)
public void concurrentChildExecutionEnded(ActivityExecution scopeExecution, ActivityExecution endedExecution)
CompositeActivityBehaviorscopeExecution - scope execution for the activity which defined the behaviorendedExecution - the execution which endedprotected void prepareScope(ActivityExecution scopeExecution, int totalNumberOfInstances)
public List<ActivityExecution> initializeScope(ActivityExecution scopeExecution, int nrOfInstances)
ModificationObserverBehaviorpublic ActivityExecution createInnerInstance(ActivityExecution scopeExecution)
ModificationObserverBehaviorpublic void destroyInnerInstance(ActivityExecution scopeExecution)
ModificationObserverBehaviorCopyright © 2013–2019 camunda services GmbH. All rights reserved.