Uses of Record Class
io.axoniq.framework.workflow.dsl.api.PayloadStepDefinition
Packages that use PayloadStepDefinition
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.
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.-
Uses of PayloadStepDefinition in io.axoniq.framework.workflow.dsl.api
Methods in io.axoniq.framework.workflow.dsl.api that return PayloadStepDefinitionModifier and TypeMethodDescriptionPayloadStepDefinition.eventNameCustomizer(EventNameCustomizer eventNameCustomizer) Returns a copy of this definition with the provided event name customizer.PayloadStepDefinition.modification(PayloadModification modification) Returns a copy of this definition with the provided payload modification.PayloadStepDefinition.primitiveMetadata(PrimitiveMetadata primitiveMetadata) Returns a copy of this definition with the provided primitive metadata.Returns a copy of this definition with the provided step name.Methods in io.axoniq.framework.workflow.dsl.api with parameters of type PayloadStepDefinitionModifier and TypeMethodDescriptionvoidWorkflowContext.awaitModifyPayload(PayloadStepDefinition stepDefinition) Applies a payload modification from a DSL step definition and blocks until it completes.WorkflowContext.modifyPayload(PayloadStepDefinition stepDefinition) Applies a payload modification asynchronously from a DSL step definition. -
Uses of PayloadStepDefinition in io.axoniq.framework.workflow.dsl.base
Methods in io.axoniq.framework.workflow.dsl.base that return PayloadStepDefinitionModifier and TypeMethodDescriptionBaseWorkflowContext.defaultPayloadStepDefinition(String stepName, PayloadModification modification) Creates the default payload modification step definition used by the convenience overloads in this class.Method parameters in io.axoniq.framework.workflow.dsl.base with type arguments of type PayloadStepDefinitionModifier and TypeMethodDescriptionvoidBaseWorkflowContext.awaitModifyPayload(String stepName, PayloadModification modification, UnaryOperator<PayloadStepDefinition> customizer) Updates the workflow payload and blocks until the change has been applied.BaseWorkflowContext.modifyPayload(String stepName, PayloadModification modification, UnaryOperator<PayloadStepDefinition> customizer) Starts a step that updates the workflow payload. -
Uses of PayloadStepDefinition in io.axoniq.framework.workflow.runtime.execution
Methods in io.axoniq.framework.workflow.runtime.execution with parameters of type PayloadStepDefinitionModifier and TypeMethodDescriptionvoidAbstractWorkflowContext.awaitModifyPayload(PayloadStepDefinition stepDefinition) AbstractWorkflowContext.modifyPayload(PayloadStepDefinition stepDefinition)