Package org.flowable.engine.impl.agenda
Class ContinueProcessOperation
- java.lang.Object
-
- org.flowable.engine.impl.agenda.AbstractOperation
-
- org.flowable.engine.impl.agenda.ContinueProcessOperation
-
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
DebugContinueProcessOperation
public class ContinueProcessOperation extends AbstractOperation
Operation that takes the currentFlowElementset on theExecutionEntityand executes the associatedActivityBehavior. In the case of async, schedules aJob. Also makes sure theExecutionListenerinstances are called.- Author:
- Joram Barrez, Tijs Rademakers
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanforceSynchronousOperationprotected booleaninCompensationprotected MigrationContextmigrationContext-
Fields inherited from class org.flowable.engine.impl.agenda.AbstractOperation
agenda, commandContext, execution
-
-
Constructor Summary
Constructors Constructor Description ContinueProcessOperation(CommandContext commandContext, ExecutionEntity execution)ContinueProcessOperation(CommandContext commandContext, ExecutionEntity execution, boolean forceSynchronousOperation, boolean inCompensation, MigrationContext migrationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcontinueThroughFlowNode(org.flowable.bpmn.model.FlowNode flowNode)protected voidcontinueThroughSequenceFlow(org.flowable.bpmn.model.SequenceFlow sequenceFlow)protected List<ExecutionEntity>createBoundaryEvents(List<org.flowable.bpmn.model.BoundaryEvent> boundaryEvents, ExecutionEntity execution)protected voidcreateChildExecutionForSubProcess(org.flowable.bpmn.model.SubProcess subProcess)protected ExecutionEntitycreateMultiInstanceRootExecution(ExecutionEntity execution)protected voidexecuteActivityBehavior(ActivityBehavior activityBehavior, org.flowable.bpmn.model.FlowNode flowNode)protected voidexecuteAsynchronous(org.flowable.bpmn.model.FlowNode flowNode)protected voidexecuteBoundaryEvents(List<org.flowable.bpmn.model.BoundaryEvent> boundaryEvents, List<ExecutionEntity> boundaryEventExecutions)protected voidexecuteMultiInstanceSynchronous(org.flowable.bpmn.model.FlowNode flowNode)protected voidexecuteProcessStartExecutionListeners()protected voidexecuteSynchronous(org.flowable.bpmn.model.FlowNode flowNode)protected booleanhasMultiInstanceRootExecution(ExecutionEntity execution, org.flowable.bpmn.model.FlowNode flowNode)voidrun()-
Methods inherited from class org.flowable.engine.impl.agenda.AbstractOperation
executeExecutionListeners, executeExecutionListeners, findFirstParentScopeExecution, getAgenda, getCommandContext, getCurrentFlowElement, getExecution, setAgenda, setCommandContext, setExecution
-
-
-
-
Field Detail
-
forceSynchronousOperation
protected boolean forceSynchronousOperation
-
inCompensation
protected boolean inCompensation
-
migrationContext
protected MigrationContext migrationContext
-
-
Constructor Detail
-
ContinueProcessOperation
public ContinueProcessOperation(CommandContext commandContext, ExecutionEntity execution, boolean forceSynchronousOperation, boolean inCompensation, MigrationContext migrationContext)
-
ContinueProcessOperation
public ContinueProcessOperation(CommandContext commandContext, ExecutionEntity execution)
-
-
Method Detail
-
run
public void run()
-
executeProcessStartExecutionListeners
protected void executeProcessStartExecutionListeners()
-
continueThroughFlowNode
protected void continueThroughFlowNode(org.flowable.bpmn.model.FlowNode flowNode)
-
createChildExecutionForSubProcess
protected void createChildExecutionForSubProcess(org.flowable.bpmn.model.SubProcess subProcess)
-
executeSynchronous
protected void executeSynchronous(org.flowable.bpmn.model.FlowNode flowNode)
-
executeAsynchronous
protected void executeAsynchronous(org.flowable.bpmn.model.FlowNode flowNode)
-
executeMultiInstanceSynchronous
protected void executeMultiInstanceSynchronous(org.flowable.bpmn.model.FlowNode flowNode)
-
hasMultiInstanceRootExecution
protected boolean hasMultiInstanceRootExecution(ExecutionEntity execution, org.flowable.bpmn.model.FlowNode flowNode)
-
createMultiInstanceRootExecution
protected ExecutionEntity createMultiInstanceRootExecution(ExecutionEntity execution)
-
executeActivityBehavior
protected void executeActivityBehavior(ActivityBehavior activityBehavior, org.flowable.bpmn.model.FlowNode flowNode)
-
continueThroughSequenceFlow
protected void continueThroughSequenceFlow(org.flowable.bpmn.model.SequenceFlow sequenceFlow)
-
createBoundaryEvents
protected List<ExecutionEntity> createBoundaryEvents(List<org.flowable.bpmn.model.BoundaryEvent> boundaryEvents, ExecutionEntity execution)
-
executeBoundaryEvents
protected void executeBoundaryEvents(List<org.flowable.bpmn.model.BoundaryEvent> boundaryEvents, List<ExecutionEntity> boundaryEventExecutions)
-
-