public class ParallelMultiInstanceBehavior extends MultiInstanceActivityBehavior
activity, aggregations, collectionElementIndexVariable, collectionElementVariable, collectionExpression, collectionHandler, collectionString, collectionVariable, completionCondition, DELETE_REASON_END, innerActivityBehavior, LOGGER, loopCardinalityExpression, NUMBER_OF_ACTIVE_INSTANCES, NUMBER_OF_COMPLETED_INSTANCES, NUMBER_OF_INSTANCESbpmnActivityBehavior| Constructor and Description |
|---|
ParallelMultiInstanceBehavior(org.flowable.bpmn.model.Activity activity,
AbstractBpmnActivityBehavior originalActivityBehavior) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
createInstances(DelegateExecution multiInstanceRootExecution)
Handles the parallel case of spawning the instances.
|
protected ExecutionEntity |
inactivateExecution(DelegateExecution execution,
ProcessEngineConfigurationImpl processEngineConfiguration) |
protected void |
inactivateExecutionAndParentExecutions(DelegateExecution execution,
ProcessEngineConfigurationImpl processEngineConfiguration) |
protected void |
internalInterrupted(DelegateExecution execution) |
protected void |
internalLeave(DelegateExecution execution,
boolean zeroNrOfInstances) |
boolean |
isAsyncWithoutWaitStates(ProcessEngineConfigurationImpl processEngineConfiguration) |
void |
leave(DelegateExecution execution)
Called when the wrapped
ActivityBehavior calls the AbstractBpmnActivityBehavior.leave(DelegateExecution) method. |
protected void |
leave(ExecutionEntity execution,
int nrOfInstances,
int nrOfCompletedInstances,
boolean isCompletionConditionSatisfied) |
boolean |
leaveAsync(ExecutionEntity execution) |
protected void |
lockFirstParentScope(DelegateExecution execution) |
protected void |
verifyCallActivity(ExecutionEntity executionToUse,
org.flowable.bpmn.model.Activity activity) |
protected org.flowable.bpmn.model.Activity |
verifyCompensation(DelegateExecution execution,
ExecutionEntity executionToUse,
org.flowable.bpmn.model.Activity activity) |
aggregateVariablesForChildExecution, aggregateVariablesOfAllInstances, buildCompletedEvent, callActivityEndListeners, cleanupMiRoot, completed, completing, completionConditionSatisfied, createFlowableCollectionHandler, execute, executeCompensationBoundaryEvents, executeOriginalBehavior, findBoundaryEventsForFlowNode, getActiveValue, getAggregations, getCollectionElementIndexVariable, getCollectionElementVariable, getCollectionExpression, getCollectionString, getCollectionVariable, getCompletionCondition, getHandler, getInnerActivityBehavior, getInstanceExecution, getLocalLoopVariable, getLoopCardinalityExpression, getLoopVariable, getLoopVariableInstance, getMultiInstanceRootExecution, getProcessDefinition, hasVariableAggregationDefinitions, interrupted, isExtraScopeNeeded, iterableToCollection, lastExecutionEnded, logLoopDetails, resolveAndValidateCollection, resolveCollection, resolveLoopCardinality, resolveNrOfInstances, sendCompletedEvent, sendCompletedWithConditionEvent, setAggregations, setCollectionElementIndexVariable, setCollectionElementVariable, setCollectionExpression, setCollectionString, setCollectionVariable, setCompletionCondition, setHandler, setInnerActivityBehavior, setLoopCardinalityExpression, setLoopVariable, trigger, usesCollectionleaveIgnoreConditions, parseActivityTypepublic ParallelMultiInstanceBehavior(org.flowable.bpmn.model.Activity activity,
AbstractBpmnActivityBehavior originalActivityBehavior)
protected int createInstances(DelegateExecution multiInstanceRootExecution)
createInstances in class MultiInstanceActivityBehaviorpublic boolean isAsyncWithoutWaitStates(ProcessEngineConfigurationImpl processEngineConfiguration)
public void leave(DelegateExecution execution)
ActivityBehavior calls the AbstractBpmnActivityBehavior.leave(DelegateExecution) method. Handles the completion of one of the parallel instancesleave in class MultiInstanceActivityBehaviorprotected void internalLeave(DelegateExecution execution, boolean zeroNrOfInstances)
protected void inactivateExecutionAndParentExecutions(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration)
protected ExecutionEntity inactivateExecution(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration)
public boolean leaveAsync(ExecutionEntity execution)
protected void leave(ExecutionEntity execution, int nrOfInstances, int nrOfCompletedInstances, boolean isCompletionConditionSatisfied)
protected org.flowable.bpmn.model.Activity verifyCompensation(DelegateExecution execution, ExecutionEntity executionToUse, org.flowable.bpmn.model.Activity activity)
protected void verifyCallActivity(ExecutionEntity executionToUse, org.flowable.bpmn.model.Activity activity)
protected void lockFirstParentScope(DelegateExecution execution)
protected void internalInterrupted(DelegateExecution execution)
internalInterrupted in class MultiInstanceActivityBehaviorCopyright © 2022 Flowable. All rights reserved.