Uses of Record Class
io.axoniq.framework.workflow.dsl.api.CancelWorkflowDefinition
Packages that use CancelWorkflowDefinition
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 CancelWorkflowDefinition in io.axoniq.framework.workflow.dsl.api
Methods in io.axoniq.framework.workflow.dsl.api that return CancelWorkflowDefinitionModifier and TypeMethodDescriptionReturns a copy of this definition with the provided cancellation cause.CancelWorkflowDefinition.eventNameCustomizer(EventNameCustomizer eventNameCustomizer) Returns a copy of this definition with the provided event name customizer.CancelWorkflowDefinition.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 CancelWorkflowDefinitionModifier and TypeMethodDescriptionvoidWorkflowContext.cancel(CancelWorkflowDefinition definition) Terminates the workflow with cancellation from a DSL definition. -
Uses of CancelWorkflowDefinition in io.axoniq.framework.workflow.dsl.base
Methods in io.axoniq.framework.workflow.dsl.base that return CancelWorkflowDefinitionModifier and TypeMethodDescriptionBaseWorkflowContext.defaultCancelWorkflowDefinition()Creates the default workflow cancellation definition.Method parameters in io.axoniq.framework.workflow.dsl.base with type arguments of type CancelWorkflowDefinitionModifier and TypeMethodDescriptionvoidBaseWorkflowContext.cancel(UnaryOperator<CancelWorkflowDefinition> customizer) Cancels the workflow and publishes the configured cancellation event. -
Uses of CancelWorkflowDefinition in io.axoniq.framework.workflow.runtime.execution
Methods in io.axoniq.framework.workflow.runtime.execution with parameters of type CancelWorkflowDefinitionModifier and TypeMethodDescriptionvoidAbstractWorkflowContext.cancel(CancelWorkflowDefinition definition)