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
public class ContinueMultiInstanceOperation extends AbstractOperation
Special operation when executing an instance of a multi-instance. It's similar to theContinueProcessOperation, but simpler, as it doesn't need to cater for as many use cases.- Author:
- Joram Barrez, Tijs Rademakers
-
-
Field Summary
Fields Modifier and Type Field Description protected intloopCounterprotected ExecutionEntitymultiInstanceRootExecution-
Fields inherited from class org.flowable.engine.impl.agenda.AbstractOperation
agenda, commandContext, execution
-
-
Constructor Summary
Constructors Constructor Description ContinueMultiInstanceOperation(CommandContext commandContext, ExecutionEntity execution, ExecutionEntity multiInstanceRootExecution, int loopCounter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
multiInstanceRootExecution
protected ExecutionEntity multiInstanceRootExecution
-
loopCounter
protected int loopCounter
-
-
Constructor Detail
-
ContinueMultiInstanceOperation
public ContinueMultiInstanceOperation(CommandContext commandContext, ExecutionEntity execution, ExecutionEntity multiInstanceRootExecution, int loopCounter)
-
-
Method Detail
-
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
protected ActivityBehavior setLoopCounterVariable(org.flowable.bpmn.model.FlowNode flowNode)
-
-