public class ParallelMultiInstanceActivityBehavior extends MultiInstanceActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationExceptioncollectionElementVariable, collectionExpression, collectionVariable, completionConditionExpression, LOG, LOOP_COUNTER, loopCardinalityExpression, NUMBER_OF_ACTIVE_INSTANCES, NUMBER_OF_COMPLETED_INSTANCES, NUMBER_OF_INSTANCESbpmnActivityBehavior| 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, doLeave, evaluateCollectionVariable, execute, getCollectionElementVariable, getCollectionExpression, getCollectionVariable, getCompletionConditionExpression, getElementAtIndex, getInnerActivity, getLocalLoopVariable, getLoopCardinalityExpression, getLoopVariable, performInstance, resolveLoopCardinality, resolveNrOfInstances, setCollectionElementVariable, setCollectionExpression, setCollectionVariable, setCompletionConditionExpression, setLoopCardinalityExpression, setLoopVariable, usesCollectioncheckIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDoneleave, leaveIgnoreConditionspublic ParallelMultiInstanceActivityBehavior()
protected void createInstances(ActivityExecution execution, int nrOfInstances) throws Exception
createInstances in class MultiInstanceActivityBehaviorExceptionprotected void prepareScopeExecution(ActivityExecution scopeExecution, int nrOfInstances)
public void concurrentChildExecutionEnded(ActivityExecution scopeExecution, ActivityExecution endedExecution)
CompositeActivityBehaviorscopeExecution - 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)
ModificationObserverBehaviorpublic void concurrentExecutionCreated(ActivityExecution scopeExecution, ActivityExecution concurrentExecution)
ModificationObserverBehaviorpublic void concurrentExecutionDeleted(ActivityExecution scopeExecution, ActivityExecution concurrentExecution)
ModificationObserverBehaviorCopyright © 2018. All rights reserved.