Uses of Record Class
io.axoniq.framework.workflow.dsl.api.WaitForStepDefinition
Packages that use WaitForStepDefinition
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 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 WaitForStepDefinition in io.axoniq.framework.workflow.dsl.api
Methods in io.axoniq.framework.workflow.dsl.api that return WaitForStepDefinitionModifier and TypeMethodDescriptionWaitForStepDefinition.eventCondition(EventCondition eventCondition) Returns a copy of this definition with the provided event condition.WaitForStepDefinition.eventNameCustomizer(EventNameCustomizer eventNameCustomizer) Returns a copy of this definition with the provided event name customizer.WaitForStepDefinition.payloadMapping(PayloadMapping payloadMapping) Returns a copy of this definition with the provided payload mapping.WaitForStepDefinition.primitiveMetadata(PrimitiveMetadata primitiveMetadata) Returns a copy of this definition with the provided primitive metadata.WaitForStepDefinition.resultPayloadReducer(PayloadReducer resultPayloadReducer) Returns a copy of this definition with the provided result payload reducer.Returns a copy of this definition with the provided step name.WaitForStepDefinition.timeout(long timeoutSeconds) Returns a copy of this definition with the provided timeout in seconds.Returns a copy of this definition with the provided timeout.Returns a copy of this definition with the provided timing configuration.Methods in io.axoniq.framework.workflow.dsl.api with parameters of type WaitForStepDefinitionModifier and TypeMethodDescriptionWorkflowContext.awaitEvent(WaitForStepDefinition stepDefinition) Starts a wait step from a DSL step definition and blocks until it completes.WorkflowContext.waitForEvent(WaitForStepDefinition stepDefinition) Starts an asynchronous wait step from a DSL step definition. -
Uses of WaitForStepDefinition in io.axoniq.framework.workflow.dsl.base
Methods in io.axoniq.framework.workflow.dsl.base that return WaitForStepDefinitionModifier and TypeMethodDescriptionBaseWorkflowContext.defaultWaitForStepDefinition(String stepName, EventCondition eventCondition) Creates the default wait-for step definition used by the convenience overloads in this class.Method parameters in io.axoniq.framework.workflow.dsl.base with type arguments of type WaitForStepDefinitionModifier and TypeMethodDescriptionBaseWorkflowContext.awaitEvent(String stepName, EventCondition eventCondition, UnaryOperator<WaitForStepDefinition> customizer) Starts a wait-for step and blocks until a matching event arrives.voidBaseWorkflowContext.awaitSleep(String stepName, UnaryOperator<WaitForStepDefinition> customizer) Starts a sleep step and blocks until the timeout expires.BaseWorkflowContext.sleep(String stepName, UnaryOperator<WaitForStepDefinition> customizer) Starts a sleep step.BaseWorkflowContext.waitForEvent(String stepName, EventCondition eventCondition, UnaryOperator<WaitForStepDefinition> customizer) Starts a wait-for step that completes when a matching event is observed. -
Uses of WaitForStepDefinition in io.axoniq.framework.workflow.dsl.simple
Method parameters in io.axoniq.framework.workflow.dsl.simple with type arguments of type WaitForStepDefinitionModifier and TypeMethodDescription<T> TSimpleWorkflowContext.awaitEvent(String stepName, Class<T> eventType, Associations conditions, UnaryOperator<WaitForStepDefinition> customizer) Waits for an event of the given type that matches the provided association conditions and returns the converted event payload.SimpleWorkflowContext.waitForEvent(String stepName, Class<?> eventType, Associations conditions, UnaryOperator<WaitForStepDefinition> customizer) Waits for an event of the given type that matches the provided association conditions. -
Uses of WaitForStepDefinition in io.axoniq.framework.workflow.runtime.execution
Methods in io.axoniq.framework.workflow.runtime.execution with parameters of type WaitForStepDefinitionModifier and TypeMethodDescriptionAbstractWorkflowContext.awaitEvent(WaitForStepDefinition stepDefinition) AbstractWorkflowContext.waitForEvent(WaitForStepDefinition stepDefinition)