Package org.flowable.engine.impl.agenda
Class ContinueMultiInstanceOperation
java.lang.Object
org.flowable.engine.impl.agenda.AbstractOperation
org.flowable.engine.impl.agenda.ContinueMultiInstanceOperation
- All Implemented Interfaces:
Runnable
Special operation when executing an instance of a multi-instance. It's similar to the
ContinueProcessOperation, but simpler, as it doesn't need to cater for as many use cases.- Author:
- Joram Barrez, Tijs Rademakers
-
Field Summary
FieldsFields inherited from class org.flowable.engine.impl.agenda.AbstractOperation
agenda, commandContext, execution -
Constructor Summary
ConstructorsConstructorDescriptionContinueMultiInstanceOperation(CommandContext commandContext, ExecutionEntity execution, ExecutionEntity multiInstanceRootExecution, int loopCounter) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcontinueThroughMultiInstanceFlowNode(org.flowable.bpmn.model.FlowNode flowNode) protected voidexecuteAsynchronous(org.flowable.bpmn.model.FlowNode flowNode) protected voidexecuteSynchronous(org.flowable.bpmn.model.FlowNode flowNode) voidrun()protected ActivityBehaviorsetLoopCounterVariable(org.flowable.bpmn.model.FlowNode flowNode) Methods inherited from class org.flowable.engine.impl.agenda.AbstractOperation
executeExecutionListeners, executeExecutionListeners, findFirstParentScopeExecution, getAgenda, getCommandContext, getCurrentFlowElement, getExecution, setAgenda, setCommandContext, setExecution
-
Field Details
-
multiInstanceRootExecution
-
loopCounter
protected int loopCounter
-
-
Constructor Details
-
ContinueMultiInstanceOperation
public ContinueMultiInstanceOperation(CommandContext commandContext, ExecutionEntity execution, ExecutionEntity multiInstanceRootExecution, int loopCounter)
-
-
Method Details
-
run
public void run() -
continueThroughMultiInstanceFlowNode
protected void continueThroughMultiInstanceFlowNode(org.flowable.bpmn.model.FlowNode flowNode) -
executeSynchronous
protected void executeSynchronous(org.flowable.bpmn.model.FlowNode flowNode) -
executeAsynchronous
protected void executeAsynchronous(org.flowable.bpmn.model.FlowNode flowNode) -
setLoopCounterVariable
-