Uses of Record Class
io.axoniq.framework.workflow.dsl.api.PublishStepDefinition
Packages that use PublishStepDefinition
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 PublishStepDefinition in io.axoniq.framework.workflow.dsl.api
Methods in io.axoniq.framework.workflow.dsl.api that return PublishStepDefinitionModifier and TypeMethodDescriptionPublishStepDefinition.event(EventMessage event) Returns a copy of this definition with the provided event.Returns a copy of this definition with the provided step name.Methods in io.axoniq.framework.workflow.dsl.api with parameters of type PublishStepDefinitionModifier and TypeMethodDescriptionvoidWorkflowContext.awaitPublish(PublishStepDefinition stepDefinition) Publishes a business event from a DSL step definition and blocks until the step is recorded.WorkflowContext.publish(PublishStepDefinition stepDefinition) Publishes a business event as a durable workflow step from a DSL step definition. -
Uses of PublishStepDefinition in io.axoniq.framework.workflow.dsl.base
Methods in io.axoniq.framework.workflow.dsl.base that return PublishStepDefinitionModifier and TypeMethodDescriptionBaseWorkflowContext.defaultPublishStepDefinition(String stepName, EventMessage event) Creates the default publish step definition used by theBaseWorkflowContext.publish(String, EventMessage, UnaryOperator)convenience overloads.Method parameters in io.axoniq.framework.workflow.dsl.base with type arguments of type PublishStepDefinitionModifier and TypeMethodDescriptionvoidBaseWorkflowContext.awaitPublish(String stepName, EventMessage event, UnaryOperator<PublishStepDefinition> customizer) Publishes a business event as a durable workflow step and blocks until the step is recorded.BaseWorkflowContext.publish(String stepName, EventMessage event, UnaryOperator<PublishStepDefinition> customizer) Publishes a business event as a durable workflow step and returns a handle to await later. -
Uses of PublishStepDefinition in io.axoniq.framework.workflow.runtime.execution
Methods in io.axoniq.framework.workflow.runtime.execution with parameters of type PublishStepDefinitionModifier and TypeMethodDescriptionvoidAbstractWorkflowContext.awaitPublish(PublishStepDefinition stepDefinition) AbstractWorkflowContext.publish(PublishStepDefinition stepDefinition)