Class ExecuteDelegate
java.lang.Object
io.axoniq.framework.workflow.runtime.execution.AbstractStepExecutor
io.axoniq.framework.workflow.runtime.execution.ExecuteDelegate
- All Implemented Interfaces:
ExecutePrimitive
Execute delegate implementing
ExecutePrimitive.- Since:
- 5.4.0
- Author:
- Allard Buijze, Simon Zambrovski, Stefan Dragisic, Steven van Beelen
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.axoniq.framework.workflow.runtime.api.execution.context.ExecutePrimitive
ExecutePrimitive.ExecuteCommand -
Field Summary
Fields inherited from class io.axoniq.framework.workflow.runtime.execution.AbstractStepExecutor
clock, parentEventNameCustomizer, reachedSteps, runningSteps, timeoutScheduler, workflowExecution, workflowExecutionOperations -
Constructor Summary
ConstructorsConstructorDescriptionExecuteDelegate(WorkflowExecutionOperations workflowExecutionOperations, WorkflowExecution workflowExecution, RunningSteps runningSteps, ReachedSteps reachedSteps, EventNameCustomizer parentEventNameCustomizer, Clock clock, UnitOfWorkFactory unitOfWorkFactory, Executor executor, WorkflowScheduler timeoutScheduler, ExecuteStepActionResolver actionResolver) Constructs the delegate. -
Method Summary
Modifier and TypeMethodDescriptionexecute(ExecutePrimitive.ExecuteCommand command) Execute primitive.Methods inherited from class io.axoniq.framework.workflow.runtime.execution.AbstractStepExecutor
acceptAllPendingTasksForStep, appendEvent, cancelled, cancelled, cancelledWaitForEvent, completed, completed, completedWaitForEvent, eventMessagePayload, failed, getContext, isCancellation, registerParkedStep, registerParkedStep, retrying, retryStarted, sanitize, started, startedWaitForEvent, stateBased, timedOut, timedOut, timedOutWaitForEvent, timedOutWaitForEvent, unwrapCancellation, unwrapCompletionException
-
Constructor Details
-
ExecuteDelegate
@Internal public ExecuteDelegate(WorkflowExecutionOperations workflowExecutionOperations, WorkflowExecution workflowExecution, RunningSteps runningSteps, ReachedSteps reachedSteps, EventNameCustomizer parentEventNameCustomizer, Clock clock, UnitOfWorkFactory unitOfWorkFactory, Executor executor, WorkflowScheduler timeoutScheduler, ExecuteStepActionResolver actionResolver) Constructs the delegate.- Parameters:
workflowExecutionOperations- runtime operations for the workflow executionworkflowExecution- workflow staterunningSteps- running step registryreachedSteps- reached steps trackerparentEventNameCustomizer- event name customizerclock- clock for time calculationsunitOfWorkFactory- unit of work factory for creation of new processing contextsexecutor- executor to offload execution tasks from workflow threadtimeoutScheduler- scheduler for workflow step timeoutsactionResolver- resolver for execute step actions
-
-
Method Details
-
execute
Description copied from interface:ExecutePrimitiveExecute primitive.- Specified by:
executein interfaceExecutePrimitive- Parameters:
command- command object for the primitive.- Returns:
- durable result handle.
-