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
Operation that takes the current
FlowElement set on the ExecutionEntity and executes the associated ActivityBehavior. In the case of async, schedules a Job.
Also makes sure the ExecutionListener instances are called.- Author:
- Joram Barrez, Tijs Rademakers
-
Field Summary
FieldsFields inherited from class org.flowable.engine.impl.agenda.AbstractOperation
agenda, commandContext, execution -
Constructor Summary
ConstructorsConstructorDescriptionContinueProcessOperation(CommandContext commandContext, ExecutionEntity execution) ContinueProcessOperation(CommandContext commandContext, ExecutionEntity execution, boolean forceSynchronousOperation, boolean inCompensation, MigrationContext migrationContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcontinueThroughFlowNode(FlowNode flowNode) protected voidcontinueThroughSequenceFlow(SequenceFlow sequenceFlow) protected List<ExecutionEntity>createBoundaryEvents(List<BoundaryEvent> boundaryEvents, ExecutionEntity execution) protected voidcreateChildExecutionForSubProcess(SubProcess subProcess) protected ExecutionEntitycreateMultiInstanceRootExecution(ExecutionEntity execution) protected voidexecuteActivityBehavior(ActivityBehavior activityBehavior, FlowNode flowNode) protected voidexecuteAsynchronous(FlowNode flowNode) protected voidexecuteBoundaryEvents(List<BoundaryEvent> boundaryEvents, List<ExecutionEntity> boundaryEventExecutions) protected voidexecuteMultiInstanceSynchronous(FlowNode flowNode) protected voidprotected voidexecuteSynchronous(FlowNode flowNode) protected booleanhasMultiInstanceRootExecution(ExecutionEntity execution, FlowNode flowNode) voidrun()Methods inherited from class org.flowable.engine.impl.agenda.AbstractOperation
executeExecutionListeners, executeExecutionListeners, findFirstParentScopeExecution, getAgenda, getCommandContext, getCurrentFlowElement, getExecution, setAgenda, setCommandContext, setExecution
-
Field Details
-
forceSynchronousOperation
protected boolean forceSynchronousOperation -
inCompensation
protected boolean inCompensation -
migrationContext
-
-
Constructor Details
-
ContinueProcessOperation
public ContinueProcessOperation(CommandContext commandContext, ExecutionEntity execution, boolean forceSynchronousOperation, boolean inCompensation, MigrationContext migrationContext) -
ContinueProcessOperation
-
-
Method Details
-
run
public void run() -
executeProcessStartExecutionListeners
protected void executeProcessStartExecutionListeners() -
continueThroughFlowNode
-
createChildExecutionForSubProcess
-
executeSynchronous
-
executeAsynchronous
-
executeMultiInstanceSynchronous
-
hasMultiInstanceRootExecution
-
createMultiInstanceRootExecution
-
executeActivityBehavior
-
continueThroughSequenceFlow
-
createBoundaryEvents
protected List<ExecutionEntity> createBoundaryEvents(List<BoundaryEvent> boundaryEvents, ExecutionEntity execution) -
executeBoundaryEvents
protected void executeBoundaryEvents(List<BoundaryEvent> boundaryEvents, List<ExecutionEntity> boundaryEventExecutions)
-