Uses of Class
io.axoniq.framework.workflow.query.api.WorkflowStateQuery
Packages that use WorkflowStateQuery
Package
Description
Public API for reading historic workflow executions, exposing their final state and a repository abstraction.
In-memory
WorkflowHistoryRepository implementation and the event
handler that projects workflow events into it.Value-based criteria for selecting workflow state.
Utilities for evaluating workflow-state queries against in-memory workflow state.
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.-
Uses of WorkflowStateQuery in io.axoniq.framework.workflow.history.api
Methods in io.axoniq.framework.workflow.history.api with parameters of type WorkflowStateQueryModifier and TypeMethodDescriptionWorkflowHistoryRepository.findAll(WorkflowStateQuery query) Returns all stored workflow history entries matching a state query. -
Uses of WorkflowStateQuery in io.axoniq.framework.workflow.history.inmemory
Methods in io.axoniq.framework.workflow.history.inmemory with parameters of type WorkflowStateQueryModifier and TypeMethodDescriptionInMemoryWorkflowHistoryRepository.findAll(WorkflowStateQuery query) -
Uses of WorkflowStateQuery in io.axoniq.framework.workflow.query.api
Methods in io.axoniq.framework.workflow.query.api that return WorkflowStateQueryModifier and TypeMethodDescriptionstatic WorkflowStateQueryWorkflowStateQuery.all()Creates a query without restrictions.static WorkflowStateQueryWorkflowStateQuery.byPayloadValue(String key, @Nullable Object value) Creates a query restricted to an exact payload value.static WorkflowStateQueryCreates a query restricted to workflows containing a step.static WorkflowStateQueryWorkflowStateQuery.byStepStatus(String stepName, StepStatus stepStatus) Creates a query restricted to a status of a named step.static WorkflowStateQueryCreates a query restricted to an effective version recorded for a change identifier.static WorkflowStateQueryWorkflowStateQuery.byVersionMigration(String changeId) Creates a query restricted to workflows with a recorded version migration.static WorkflowStateQueryWorkflowStateQuery.byWorkflowDefinitionId(VersionedType workflowDefinitionId) Creates a query restricted to a workflow definition identity.static WorkflowStateQueryWorkflowStateQuery.byWorkflowId(String workflowId) Creates a query restricted to a workflow identifier.static WorkflowStateQueryWorkflowStateQuery.byWorkflowStatus(WorkflowStatus workflowStatus) Creates a query restricted to a workflow status.WorkflowStateQuery.payloadValue(String key, @Nullable Object value) Restricts this query to a payload value.Restricts this query to workflows containing a step.WorkflowStateQuery.stepStatus(String stepName, StepStatus stepStatus) Restricts this query to a status of a named step.Restricts this query to an effective version recorded for a change identifier.WorkflowStateQuery.versionMigration(String changeId) Restricts this query to a recorded version migration.WorkflowStateQuery.workflowDefinitionId(VersionedType workflowDefinitionId) Restricts this query to a workflow definition identity.WorkflowStateQuery.workflowId(String workflowId) Restricts this query to a workflow identifier.WorkflowStateQuery.workflowStatus(WorkflowStatus workflowStatus) Restricts this query to a workflow status. -
Uses of WorkflowStateQuery in io.axoniq.framework.workflow.query.utils
Methods in io.axoniq.framework.workflow.query.utils with parameters of type WorkflowStateQueryModifier and TypeMethodDescriptionstatic booleanWorkflowStateQueryMatcher.matches(WorkflowStateQuery query, WorkflowState state) Determines whether a workflow state satisfies every criterion in a query. -
Uses of WorkflowStateQuery in io.axoniq.framework.workflow.runtime.api.manager
Methods in io.axoniq.framework.workflow.runtime.api.manager with parameters of type WorkflowStateQueryModifier and TypeMethodDescriptionWorkflowManager.findMany(WorkflowStateQuery query) Finds every workflow instance matching a query.WorkflowManager.findOne(WorkflowStateQuery query) Finds the single workflow instance matching a query. -
Uses of WorkflowStateQuery in io.axoniq.framework.workflow.runtime.execution
Methods in io.axoniq.framework.workflow.runtime.execution with parameters of type WorkflowStateQueryModifier and TypeMethodDescriptionInMemoryWorkflowExecutionRepository.findAll(WorkflowStateQuery query) WorkflowExecutionRepository.findAll(WorkflowStateQuery query) Returns all stored workflow executions whose state matches a query.SimpleWorkflowManager.findMany(WorkflowStateQuery query) SimpleWorkflowManager.findOne(WorkflowStateQuery query)