Uses of Interface
io.axoniq.framework.workflow.dsl.api.PayloadProcessor
Packages that use PayloadProcessor
Package
Description
Base Java DSL for defining workflow steps, providing the core primitives to execute work, wait for events, modify the
workflow payload, sleep, fail, and cancel a workflow.
Convenience Java DSL built on top of the base DSL, adding shortcuts for common workflow steps such as executing
without extra input payload, waiting for a typed event, and replacing the workflow payload outright.
Internal runtime contracts for workflow execution, command dispatch, configuration, and event publication.
Internal implementation of the workflow execution engine: the
WorkflowEngine, its scheduling, state and
storage, checkpointing/replay support, cancellation coordination, and the delegates implementing individual step
primitives.The given/when/then style test fixture API for workflow runtime tests, including the staged
WorkflowTestFixture, the lower-level WorkflowTestDriver, and the shared testing state and services
backing both.Test-only utility components used by the workflow test fixture and configuration, such as manual execution and
scheduling controls, a mutable test clock, id generation, event publication helpers, and a pretty-printing recording
event store.
-
Uses of PayloadProcessor in io.axoniq.framework.workflow.dsl.api
Methods in io.axoniq.framework.workflow.dsl.api that return PayloadProcessorModifier and TypeMethodDescriptionExecuteStepDefinition.action()Returns the value of theactionrecord component.Methods in io.axoniq.framework.workflow.dsl.api with parameters of type PayloadProcessorModifier and TypeMethodDescriptionExecuteStepDefinition.action(PayloadProcessor action) Returns a copy of this definition with the provided action.Constructors in io.axoniq.framework.workflow.dsl.api with parameters of type PayloadProcessorModifierConstructorDescriptionExecuteStepDefinition(PrimitiveMetadata primitiveMetadata, Map<String, @Nullable Object> inputPayload, PayloadProcessor action, PayloadMapping payloadMapping, Timing timing, RetryPolicy retryPolicy) Creates an instance of aExecuteStepDefinitionrecord class. -
Uses of PayloadProcessor in io.axoniq.framework.workflow.dsl.base
Methods in io.axoniq.framework.workflow.dsl.base with parameters of type PayloadProcessorModifier and TypeMethodDescriptionBaseWorkflowContext.awaitExecute(String stepName, Map<String, @Nullable Object> inputPayload, PayloadProcessor processor) Starts an execute step with default settings and blocks until it completes.BaseWorkflowContext.awaitExecute(String stepName, Map<String, @Nullable Object> inputPayload, PayloadProcessor processor, UnaryOperator<ExecuteStepDefinition> customizer) Starts an execute step and blocks until it completes.BaseWorkflowContext.defaultExecuteStepDefinition(String stepName, Map<String, @Nullable Object> inputPayload, PayloadProcessor processor) Creates the default execute step definition used by the convenience overloads in this class.BaseWorkflowContext.execute(String stepName, Map<String, @Nullable Object> inputPayload, PayloadProcessor processor) Starts an execute step with the default step definition settings.BaseWorkflowContext.execute(String stepName, Map<String, @Nullable Object> inputPayload, PayloadProcessor processor, UnaryOperator<ExecuteStepDefinition> customizer) Starts an execute step that invokes the given payload processor. -
Uses of PayloadProcessor in io.axoniq.framework.workflow.dsl.simple
Methods in io.axoniq.framework.workflow.dsl.simple with parameters of type PayloadProcessorModifier and TypeMethodDescriptionSimpleWorkflowContext.execute(String stepName, PayloadProcessor processor) Starts an execute step with an empty step-local input payload.SimpleWorkflowContext.execute(String stepName, PayloadProcessor processor, UnaryOperator<ExecuteStepDefinition> customizer) Starts an execute step with an empty step-local input payload and a customized step definition. -
Uses of PayloadProcessor in io.axoniq.framework.workflow.runtime.api.execution.context
Methods in io.axoniq.framework.workflow.runtime.api.execution.context that return PayloadProcessorModifier and TypeMethodDescriptionExecutePrimitive.ExecuteCommand.action()Returns action to be executed.PrimitiveCommands.WorkflowStepResultExecuteCommand.action()Returns the value of theactionrecord component.Constructors in io.axoniq.framework.workflow.runtime.api.execution.context with parameters of type PayloadProcessorModifierConstructorDescriptionWorkflowStepResultExecuteCommand(String stepName, Map<String, @Nullable Object> local, PayloadProcessor action, PayloadReducer parameterMapping, PayloadReducer resultMapping, Duration timeout, EventNameCustomizer eventNameCustomizer, RetryPolicy retryPolicy) Creates an instance of aWorkflowStepResultExecuteCommandrecord class. -
Uses of PayloadProcessor in io.axoniq.framework.workflow.runtime.execution
Methods in io.axoniq.framework.workflow.runtime.execution that return PayloadProcessorModifier and TypeMethodDescriptionDefaultExecuteStepActionResolver.resolve(WorkflowExecutionOperations workflowExecutionOperations, WorkflowExecution workflowExecution, ExecutePrimitive.ExecuteCommand command) ExecuteStepActionResolver.resolve(WorkflowExecutionOperations workflowExecutionOperations, WorkflowExecution workflowExecution, ExecutePrimitive.ExecuteCommand command) Resolve the action for the given execute command. -
Uses of PayloadProcessor in io.axoniq.framework.workflow.runtime.test.fixture
Methods in io.axoniq.framework.workflow.runtime.test.fixture with parameters of type PayloadProcessorModifier and TypeMethodDescriptionGivenWhen.execute(String stepName, PayloadProcessor payloadProcessor) Supplies a fake action for an execute step and waits until the step reaches a terminal state.voidDefaultWorkflowTestDriver.executeStep(String stepName, PayloadProcessor payloadProcessor) voidWorkflowTestDriver.executeStep(String stepName, PayloadProcessor payloadProcessor) Waits until the given step is executed calling the given payload processor. -
Uses of PayloadProcessor in io.axoniq.framework.workflow.runtime.test.utils
Methods in io.axoniq.framework.workflow.runtime.test.utils that return PayloadProcessorModifier and TypeMethodDescriptionManualExecuteStepActionResolver.resolve(WorkflowExecutionOperations workflowExecutionOperations, WorkflowExecution workflowExecution, ExecutePrimitive.ExecuteCommand command) Resolves the action for an execute step, blocking until the fixture supplies behavior for the step name.Methods in io.axoniq.framework.workflow.runtime.test.utils with parameters of type PayloadProcessorModifier and TypeMethodDescriptionvoidManualExecuteStepActionResolver.applyAction(String stepName, PayloadProcessor action) Applies the supplied action for the step instead of the workflow-defined action.