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(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 voidprotected 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 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
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
-
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)
-