public class DefaultFlowableEngineAgenda extends AbstractAgenda implements FlowableEngineAgenda
Command) being executed, a new agenda instance is created. On this agenda, operations are put, which the CommandExecutor will keep executing until all
are executed.
The agenda also gives easy access to methods to plan new operations when writing ActivityBehavior implementations.
During a Command execution, the agenda can always be fetched using Context#getAgenda().commandContext, operations| Constructor and Description |
|---|
DefaultFlowableEngineAgenda(CommandContext commandContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
planAsyncTriggerExecutionOperation(ExecutionEntity execution) |
void |
planContinueMultiInstanceOperation(ExecutionEntity execution,
ExecutionEntity multiInstanceRootExecution,
int loopCounter) |
void |
planContinueProcessInCompensation(ExecutionEntity execution) |
void |
planContinueProcessOperation(ExecutionEntity execution) |
void |
planContinueProcessSynchronousOperation(ExecutionEntity execution) |
void |
planDestroyScopeOperation(ExecutionEntity execution) |
void |
planEndExecutionOperation(ExecutionEntity execution) |
void |
planEndExecutionOperationSynchronous(ExecutionEntity execution) |
void |
planExecuteInactiveBehaviorsOperation() |
void |
planOperation(Runnable operation,
ExecutionEntity executionEntity)
Generic method to plan a
Runnable. |
void |
planTakeOutgoingSequenceFlowsOperation(ExecutionEntity execution,
boolean evaluateConditions) |
void |
planTriggerExecutionOperation(ExecutionEntity execution) |
assertOperationsNotEmpty, close, flush, getCommandContext, getNextOperation, getOperations, isEmpty, peekOperation, planOperation, setCommandContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNextOperation, isEmpty, peekOperation, planOperationpublic DefaultFlowableEngineAgenda(CommandContext commandContext)
public void planOperation(Runnable operation, ExecutionEntity executionEntity)
Runnable.planOperation in interface FlowableEngineAgendapublic void planContinueProcessOperation(ExecutionEntity execution)
planContinueProcessOperation in interface FlowableEngineAgendapublic void planContinueProcessSynchronousOperation(ExecutionEntity execution)
planContinueProcessSynchronousOperation in interface FlowableEngineAgendapublic void planContinueProcessInCompensation(ExecutionEntity execution)
planContinueProcessInCompensation in interface FlowableEngineAgendapublic void planContinueMultiInstanceOperation(ExecutionEntity execution, ExecutionEntity multiInstanceRootExecution, int loopCounter)
planContinueMultiInstanceOperation in interface FlowableEngineAgendapublic void planTakeOutgoingSequenceFlowsOperation(ExecutionEntity execution, boolean evaluateConditions)
planTakeOutgoingSequenceFlowsOperation in interface FlowableEngineAgendapublic void planEndExecutionOperation(ExecutionEntity execution)
planEndExecutionOperation in interface FlowableEngineAgendapublic void planEndExecutionOperationSynchronous(ExecutionEntity execution)
planEndExecutionOperationSynchronous in interface FlowableEngineAgendapublic void planTriggerExecutionOperation(ExecutionEntity execution)
planTriggerExecutionOperation in interface FlowableEngineAgendapublic void planAsyncTriggerExecutionOperation(ExecutionEntity execution)
planAsyncTriggerExecutionOperation in interface FlowableEngineAgendapublic void planDestroyScopeOperation(ExecutionEntity execution)
planDestroyScopeOperation in interface FlowableEngineAgendapublic void planExecuteInactiveBehaviorsOperation()
planExecuteInactiveBehaviorsOperation in interface FlowableEngineAgendaCopyright © 2018 Flowable. All rights reserved.