Uses of Interface
io.axoniq.framework.workflow.dsl.api.WorkflowState
Packages that use WorkflowState
Package
Description
Public API for reading historic workflow executions, exposing their final state and a repository abstraction.
Utilities for evaluating workflow-state queries against in-memory workflow state.
Internal runtime contracts for workflow execution, command dispatch, configuration, and event publication.
Provides the outside-in API for locating workflow instances and requesting lifecycle changes from application or
administrative code.
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.The given/when/then style test fixture API for workflow runtime tests, including the staged
WorkflowTestFixture, the lower-level WorkflowTestDriver, and the shared testing state and services
backing both.Internal runtime utilities for future resolution, workflow event and metadata construction, processing context
propagation, reflection, and workflow state inspection.
-
Uses of WorkflowState in io.axoniq.framework.workflow.history.api
Methods in io.axoniq.framework.workflow.history.api that return WorkflowStateModifier and TypeMethodDescriptionWorkflowHistory.state()Returns the value of thestaterecord component.Constructors in io.axoniq.framework.workflow.history.api with parameters of type WorkflowStateModifierConstructorDescriptionWorkflowHistory(String workflowId, WorkflowState state) Creates an instance of aWorkflowHistoryrecord class. -
Uses of WorkflowState in io.axoniq.framework.workflow.query.utils
Methods in io.axoniq.framework.workflow.query.utils with parameters of type WorkflowStateModifier and TypeMethodDescriptionstatic booleanWorkflowStateQueryMatcher.matches(WorkflowStateQuery query, WorkflowState state) Determines whether a workflow state satisfies every criterion in a query. -
Uses of WorkflowState in io.axoniq.framework.workflow.runtime.api.execution.context
Methods in io.axoniq.framework.workflow.runtime.api.execution.context that return WorkflowStateMethods in io.axoniq.framework.workflow.runtime.api.execution.context with parameters of type WorkflowStateModifier and TypeMethodDescriptionvoidWorkflowExecution.initializeState(WorkflowState state) Initializes this newly created execution with a workflow state.Method parameters in io.axoniq.framework.workflow.runtime.api.execution.context with type arguments of type WorkflowStateModifier and TypeMethodDescriptionvoidWorkflowExecution.awaitStateChange(Predicate<WorkflowState> condition) Applies queued tasks until the condition is satisfied. -
Uses of WorkflowState in io.axoniq.framework.workflow.runtime.api.manager
Methods in io.axoniq.framework.workflow.runtime.api.manager that return types with arguments of type WorkflowStateModifier and TypeMethodDescriptionCompletableFuture<@Nullable WorkflowState> WorkflowInstances.Single.singleState()Resolves the detached state of the single workflow instance in this collection.WorkflowInstance.state()Reads the detached workflow state selected for this instance. -
Uses of WorkflowState in io.axoniq.framework.workflow.runtime.execution
Classes in io.axoniq.framework.workflow.runtime.execution that implement WorkflowStateModifier and TypeClassDescriptionclassHolds the current state of a workflow and modified by theEventSourcedWorkflowState.evolve(org.axonframework.messaging.eventhandling.EventMessage, org.axonframework.messaging.core.unitofwork.ProcessingContext)method receiving messages.Methods in io.axoniq.framework.workflow.runtime.execution that return WorkflowStateModifier and TypeMethodDescriptionEventSourcedWorkflowState.evolve(EventMessage eventMessage, ProcessingContext processingContext) Applies an event while notifying workflow status listeners.SimpleWorkflowExecution.state()Methods in io.axoniq.framework.workflow.runtime.execution that return types with arguments of type WorkflowStateModifier and TypeMethodDescriptionEventSourcedWorkflowStore.findWorkflow(String workflowId, ProcessingContext processingContext) WorkflowStore.findWorkflow(String workflowId, ProcessingContext processingContext) Sources the state of a workflow that may not exist.EventSourcedWorkflowStore.loadWorkflow(String workflowId, ProcessingContext processingContext) WorkflowStore.loadWorkflow(String workflowId, ProcessingContext processingContext) Loads the event-sourced durable state for a workflow id.Methods in io.axoniq.framework.workflow.runtime.execution with parameters of type WorkflowStateModifier and TypeMethodDescriptionvoidSimpleWorkflowExecution.initializeState(WorkflowState state) static EventSourcedWorkflowStateEventSourcedWorkflowState.requireEventSourcedState(WorkflowState state) Returns the event sourced workflow state.Method parameters in io.axoniq.framework.workflow.runtime.execution with type arguments of type WorkflowStateModifier and TypeMethodDescriptionvoidSimpleWorkflowExecution.awaitStateChange(Predicate<WorkflowState> predicate) -
Uses of WorkflowState in io.axoniq.framework.workflow.runtime.test.fixture
Methods in io.axoniq.framework.workflow.runtime.test.fixture that return WorkflowStateModifier and TypeMethodDescriptionWorkflowEngineTestingState.state()Returns the historic workflow state.default WorkflowStateWorkflowEngineTestingState.workflowStateExists()Returns the workflow state after asserting it exists.WorkflowEngineTestingState.workflowStateMatches(AssertionFailureHandler assertionFailureHandler, Predicate<WorkflowState> predicate) Waits until the workflow state matches the given predicate.default WorkflowStateWorkflowEngineTestingState.workflowStateMatches(Predicate<WorkflowState> predicate) Waits until the workflow state matches the given predicate.Method parameters in io.axoniq.framework.workflow.runtime.test.fixture with type arguments of type WorkflowStateModifier and TypeMethodDescriptionWorkflowEngineTestingState.workflowStateMatches(AssertionFailureHandler assertionFailureHandler, Predicate<WorkflowState> predicate) Waits until the workflow state matches the given predicate.default WorkflowStateWorkflowEngineTestingState.workflowStateMatches(Predicate<WorkflowState> predicate) Waits until the workflow state matches the given predicate.Then.workflowStateSatisfies(Consumer<WorkflowState> workflowStateConsumer) Applies a given consumer to the workflow state of the current history.voidWorkflowEngineTestingState.workflowStateSatisfies(Consumer<WorkflowState> workflowStateConsumer) Applies a consumer to the workflow state. -
Uses of WorkflowState in io.axoniq.framework.workflow.runtime.util
Methods in io.axoniq.framework.workflow.runtime.util that return types with arguments of type WorkflowStateModifier and TypeMethodDescriptionstatic Predicate<WorkflowState> WorkflowStateUtils.stepActive(String stepName) Creates a predicate that matches when a step in the workflow state exists and is not terminal.static Predicate<WorkflowState> WorkflowStateUtils.stepStatus(String stepName, StepStatus status) Creates a predicate that matches when a step in the workflow state exists and has the specified status.static Predicate<WorkflowState> WorkflowStateUtils.stepTerminal(String stepName) Creates a predicate that matches when a step in the workflow state has reached a terminal status.Methods in io.axoniq.framework.workflow.runtime.util with parameters of type WorkflowStateModifier and TypeMethodDescriptionstatic booleanWorkflowStateUtils.isStepActive(WorkflowState state, String stepName) Checks if a step with the given name exists in the workflow state and has not reached a terminal status.static booleanWorkflowStateUtils.isStepStatus(WorkflowState state, String stepName, StepStatus status) Checks if a step with the given name exists in the workflow state and has the specified status.static booleanWorkflowStateUtils.isStepTerminal(WorkflowState state, String stepName) Checks if a step with the given name exists in the workflow state and has reached a terminal status.static booleanWorkflowStateUtils.matchesStep(WorkflowState state, String stepName, Predicate<WorkflowStep> predicate) Safely inspects a step in state if it exists.