Uses of Interface
io.axoniq.framework.workflow.runtime.api.execution.context.WorkflowConfiguration
Packages that use WorkflowConfiguration
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.
Convenience Java DSL built on top of the base DSL, adding shortcuts for common workflow steps such as executing
without extra input payload, waiting for a typed event, and replacing the workflow payload outright.
Internal runtime contracts for workflow execution, command dispatch, configuration, and event publication.
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 WorkflowConfiguration in io.axoniq.framework.workflow.dsl.base
Methods in io.axoniq.framework.workflow.dsl.base with parameters of type WorkflowConfigurationModifier and TypeMethodDescriptionBaseWorkflowContextFactory.createContext(Map<String, @Nullable Object> initialPayload, String workflowId, ProcessingContext processingContext, WorkflowConfiguration<?> workflowConfiguration) Creates a workflow context for the current workflow invocation.Constructors in io.axoniq.framework.workflow.dsl.base with parameters of type WorkflowConfigurationModifierConstructorDescriptionBaseWorkflowContext(String workflowId, Map<String, @Nullable Object> payload, ProcessingContext processingContext, WorkflowConfiguration<?> workflowConfiguration) Creates a workflow context for a single workflow instance. -
Uses of WorkflowConfiguration in io.axoniq.framework.workflow.dsl.simple
Methods in io.axoniq.framework.workflow.dsl.simple with parameters of type WorkflowConfigurationModifier and TypeMethodDescriptionSimpleWorkflowContextFactory.createContext(Map<String, @Nullable Object> initialPayload, String workflowId, ProcessingContext processingContext, WorkflowConfiguration<?> workflowConfiguration) Creates a workflow context for the current workflow invocation.Constructors in io.axoniq.framework.workflow.dsl.simple with parameters of type WorkflowConfigurationModifierConstructorDescriptionSimpleWorkflowContext(String workflowId, Map<String, @Nullable Object> payload, ProcessingContext processingContext, WorkflowConfiguration<?> workflowConfiguration) Creates the simple workflow context for a single workflow instance. -
Uses of WorkflowConfiguration in io.axoniq.framework.workflow.runtime.api.execution.context
Methods in io.axoniq.framework.workflow.runtime.api.execution.context that return WorkflowConfigurationModifier and TypeMethodDescriptionWorkflowExecution.workflowConfiguration()Returns the workflow configuration.Methods in io.axoniq.framework.workflow.runtime.api.execution.context with parameters of type WorkflowConfigurationModifier and TypeMethodDescriptionWorkflowContextFactory.createContext(Map<String, @Nullable Object> initialPayload, String workflowId, ProcessingContext processingContext, WorkflowConfiguration<?> workflowConfiguration) Creates a new workflow context. -
Uses of WorkflowConfiguration in io.axoniq.framework.workflow.runtime.execution
Methods in io.axoniq.framework.workflow.runtime.execution that return WorkflowConfigurationModifier and TypeMethodDescriptionWorkflowConfigurationRegistry.PredicatedWorkflowConfiguration.configuration()Returns the value of theconfigurationrecord component.default WorkflowConfiguration<?> WorkflowConfigurationRegistry.resolveDefinitionForReplay(String workflowName, String workflowId, String stateVersion, WorkflowConfiguration<?> startConfig) Resolves whichWorkflowConfigurationshould drive an in-flight workflow's body, picking the definition that matches the version recorded in state.static WorkflowConfiguration<?> WorkflowConfigurationRegistry.resolveOrFallback(ProcessingContext ctx, String workflowName, String workflowId, String stateVersion, WorkflowConfiguration<?> startConfig) Convenience helper that resolves theWorkflowConfigurationfor an in-flight workflow's body against the registry stashed on the givenProcessingContext(seeWorkflowConfigurationRegistry.RESOURCE_KEY).SimpleWorkflowExecution.workflowConfiguration()Methods in io.axoniq.framework.workflow.runtime.execution that return types with arguments of type WorkflowConfigurationModifier and TypeMethodDescriptiondefault Optional<WorkflowConfiguration<?>> WorkflowConfigurationRegistry.findByWorkflowNameAndVersion(String workflowName, String version) Finds a registered configuration byworkflowName+versionacross all qualified names.default Optional<WorkflowConfiguration<?>> WorkflowConfigurationRegistry.findClosestHigherRegisteredVersion(String workflowName, String version) Finds the "next higher" routing match forworkflowName+version: the registered configuration whoseworkflowVersion()is the lowest version strictly greater than the requestedversion(semver-ordered).default Optional<WorkflowConfiguration<?>> WorkflowConfigurationRegistry.findClosestRegisteredVersion(String workflowName, String version) Finds the "best routing match" for a givenworkflowName+version: the registered configuration whoseworkflowVersion()is the highest version less than or equal to the requestedversion(semver-ordered).default Optional<WorkflowConfiguration<?>> WorkflowConfigurationRegistry.getByVersion(QualifiedName qualifiedName, String version) Returns the configuration registered forqualifiedNamewhoseworkflowVersion()equalsversion(semver-equal).default Optional<WorkflowConfiguration<?>> WorkflowConfigurationRegistry.getWorkflowConfiguration(VersionedType workflowDefinitionId) Finds a registered configuration by workflow definition reference.Methods in io.axoniq.framework.workflow.runtime.execution with parameters of type WorkflowConfigurationModifier and TypeMethodDescriptionSimpleWorkflowConfigurationRegistry.register(EventCondition eventCondition, WorkflowConfiguration<?> workflowConfiguration) WorkflowConfigurationRegistry.register(EventCondition eventCondition, WorkflowConfiguration<?> workflowConfiguration) default WWorkflowConfigurationRegistry.register(QualifiedName qualifiedName, WorkflowConfiguration<?> workflowConfiguration) default WorkflowConfiguration<?> WorkflowConfigurationRegistry.resolveDefinitionForReplay(String workflowName, String workflowId, String stateVersion, WorkflowConfiguration<?> startConfig) Resolves whichWorkflowConfigurationshould drive an in-flight workflow's body, picking the definition that matches the version recorded in state.static WorkflowConfiguration<?> WorkflowConfigurationRegistry.resolveOrFallback(ProcessingContext ctx, String workflowName, String workflowId, String stateVersion, WorkflowConfiguration<?> startConfig) Convenience helper that resolves theWorkflowConfigurationfor an in-flight workflow's body against the registry stashed on the givenProcessingContext(seeWorkflowConfigurationRegistry.RESOURCE_KEY).Constructors in io.axoniq.framework.workflow.runtime.execution with parameters of type WorkflowConfigurationModifierConstructorDescriptionAbstractWorkflowContext(String workflowId, Map<String, @Nullable Object> payload, ProcessingContext processingContext, WorkflowConfiguration<?> workflowConfiguration) Constructs a new author-facing workflow context.PredicatedWorkflowConfiguration(BiPredicate<EventMessage, ProcessingContext> predicate, WorkflowConfiguration<?> configuration) Creates an instance of aPredicatedWorkflowConfigurationrecord class.SimpleWorkflowExecution(String workflowId, Map<String, @Nullable Object> initial, ProcessingContext processingContext, WorkflowConfiguration<?> workflowConfiguration, WorkflowContext workflowContext) Constructs a new instance.WorkflowExecutionOperationsDelegation(WorkflowConfiguration<?> workflowConfiguration, WorkflowContext workflowContext, WorkflowExecution workflowExecution, RunningSteps runningSteps, io.axoniq.framework.workflow.runtime.execution.EventWaitConditions eventWaitConditions, ReachedSteps reachedSteps, io.axoniq.framework.workflow.runtime.execution.WorkflowTerminalTransition terminalTransition, ProcessingContext processingContext) Creates the context delegation.