Class PayloadDelegate
java.lang.Object
io.axoniq.framework.workflow.runtime.execution.AbstractStepExecutor
io.axoniq.framework.workflow.runtime.execution.PayloadDelegate
- All Implemented Interfaces:
PayloadPrimitive
Primitive implementing durable payload modifications.
- Since:
- 5.4.0
- Author:
- Simon Zambrovski
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.axoniq.framework.workflow.runtime.api.execution.context.PayloadPrimitive
PayloadPrimitive.ModifyPayloadCommand -
Field Summary
Fields inherited from class io.axoniq.framework.workflow.runtime.execution.AbstractStepExecutor
clock, parentEventNameCustomizer, reachedSteps, runningSteps, timeoutScheduler, workflowExecution, workflowExecutionOperations -
Constructor Summary
ConstructorsConstructorDescriptionPayloadDelegate(WorkflowExecutionOperations workflowExecutionOperations, WorkflowExecution workflowExecution, RunningSteps runningSteps, ReachedSteps reachedSteps, EventNameCustomizer parentEventNameCustomizer, Clock clock, WorkflowScheduler timeoutScheduler) Constructs the primitive implementation. -
Method Summary
Modifier and TypeMethodDescriptionApplies payload modification.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
-
PayloadDelegate
@Internal public PayloadDelegate(WorkflowExecutionOperations workflowExecutionOperations, WorkflowExecution workflowExecution, RunningSteps runningSteps, ReachedSteps reachedSteps, EventNameCustomizer parentEventNameCustomizer, Clock clock, WorkflowScheduler timeoutScheduler) Constructs the primitive implementation.- Parameters:
workflowExecutionOperations- runtime primitive-operation surfaceworkflowExecution- workflow executionrunningSteps- running step registryreachedSteps- reached steps trackerparentEventNameCustomizer- parent event name customizerclock- clock for time calculationstimeoutScheduler- scheduler for step timeouts
-
-
Method Details
-
modifyPayload
Description copied from interface:PayloadPrimitiveApplies payload modification.- Specified by:
modifyPayloadin interfacePayloadPrimitive- Parameters:
command- command object for the primitive.- Returns:
- durable result handle.
-