Package io.axoniq.framework.workflow.runtime.api.execution.context
@NullMarked
package io.axoniq.framework.workflow.runtime.api.execution.context
Internal runtime contracts for workflow execution, command dispatch, configuration, and event publication.
Author-facing step definitions and event conditions reside in
WorkflowContext's DSL package and are
translated into these runtime contracts.- Since:
- 5.4.0
-
ClassDescriptionGuard combinator that succeeds when all completed results match the predicate.Combinator that resolves when the first completed result matches a given predicate.Primitive for executing actions within a workflow.Parameter object for the primitive.Guard combinator that succeeds when no completed result matches the predicate.Primitive modifying the workflow instance payload allowing durable data flow support.Base payload modification command.Commands helper.Default publish command implementation.Default version command implementation.Default execute command implementation.Default payload modification command implementation allowing asynchronous execution and returning the.
invalid reference
WorkflowStepResultDefault wait-for-event command implementation allowing asynchronous execution and returning the.invalid reference
WorkflowStepResultPrimitive publishing a business event as a durable workflow step.Parameter object for the primitive.Classifies an exception that escaped a workflow body as recoverable or not.Workflow version value type.Primitive for forking workflow logic mid-flight.Parameter object for the primitive.Primitive that allows waiting for an event to occur.Parameter object for the primitive.WorkflowConfiguration<T extends WorkflowContext>Configures definition, context factory and correlation provider.WorkflowContextFactory<T extends WorkflowContext>Creates a context for workflow execution.WorkflowDefinition<T extends WorkflowContext>Definition of the workflow.Read-only execution data required to create workflow event messages.Represents the mechanics of a workflow execution accessed by the workflow engine and its primitives.Receives transitions of checkpoint-relevant workflow work.Factory to create a workflow execution.Primitive operations and execution metadata used by the workflow runtime.Responsible for delivery of workflow id from provided event message.Lifecycle control contract for programmatically changing workflow and step lifecycle state.Command carrying the intent to cancel a single running step.Command carrying the intent to cancel an entire workflow.Command carrying the intent to fail an entire workflow.Thrown when a workflow's replay reaches an event-emitting primitive that would corrupt an in-flight workflow — specifically, when state contains terminal steps the current invocation has not yet referenced.Functional interface describing aWorkflowStatuschange listener, invoked on every status change.