Uses of Record Class
io.axoniq.framework.workflow.dsl.api.FailWorkflowDefinition
Packages that use FailWorkflowDefinition
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 FailWorkflowDefinition in io.axoniq.framework.workflow.dsl.api
Methods in io.axoniq.framework.workflow.dsl.api that return FailWorkflowDefinitionModifier and TypeMethodDescriptionReturns a copy of this definition with the provided failure cause.FailWorkflowDefinition.eventNameCustomizer(EventNameCustomizer eventNameCustomizer) Returns a copy of this definition with the provided event name customizer.FailWorkflowDefinition.primitiveMetadata(PrimitiveMetadata primitiveMetadata) Returns a copy of this definition with the provided primitive metadata.Methods in io.axoniq.framework.workflow.dsl.api with parameters of type FailWorkflowDefinitionModifier and TypeMethodDescriptionvoidWorkflowContext.fail(FailWorkflowDefinition definition) Terminates the workflow with failure from a DSL step definition. -
Uses of FailWorkflowDefinition in io.axoniq.framework.workflow.dsl.base
Methods in io.axoniq.framework.workflow.dsl.base that return FailWorkflowDefinitionModifier and TypeMethodDescriptionBaseWorkflowContext.defaultFailWorkflowDefinition()Creates the default workflow failure definition.Method parameters in io.axoniq.framework.workflow.dsl.base with type arguments of type FailWorkflowDefinitionModifier and TypeMethodDescriptionvoidBaseWorkflowContext.fail(Throwable cause, UnaryOperator<FailWorkflowDefinition> customizer) Fails the workflow and publishes the configured failure event. -
Uses of FailWorkflowDefinition in io.axoniq.framework.workflow.runtime.execution
Methods in io.axoniq.framework.workflow.runtime.execution with parameters of type FailWorkflowDefinitionModifier and TypeMethodDescriptionvoidAbstractWorkflowContext.fail(FailWorkflowDefinition definition)