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 void
continueThroughFlowNode
(FlowNode flowNode) protected void
continueThroughSequenceFlow
(SequenceFlow sequenceFlow) protected List<ExecutionEntity>
createBoundaryEvents
(List<BoundaryEvent> boundaryEvents, ExecutionEntity execution) protected void
createChildExecutionForSubProcess
(SubProcess subProcess) protected ExecutionEntity
createMultiInstanceRootExecution
(ExecutionEntity execution) protected void
executeActivityBehavior
(ActivityBehavior activityBehavior, FlowNode flowNode) protected void
executeAsynchronous
(FlowNode flowNode) protected void
executeBoundaryEvents
(List<BoundaryEvent> boundaryEvents, List<ExecutionEntity> boundaryEventExecutions) protected void
executeMultiInstanceSynchronous
(FlowNode flowNode) protected void
protected void
executeSynchronous
(FlowNode flowNode) protected boolean
hasMultiInstanceRootExecution
(ExecutionEntity execution, FlowNode flowNode) void
run()
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)
-