Package io.axoniq.framework.workflow.configuration
@NullMarked
package io.axoniq.framework.workflow.configuration
Package containing workflow configuration components.
- Since:
- 5.4.0
-
ClassDescription
HandlerDefinitionrecognizingWorkflow-annotated methods, building aMethodInvokingMessageHandlingMemberfor each.HandlerDefinitionrecognizingWorkflowStatusChangedHandler-annotated methods, building aMethodInvokingMessageHandlingMemberfor each.Utilities for workflow auto-detection.Method with workflow attributes.Composite Workflow status change listener responsible for one status change.Defaults for workflow configuration.The workflowApplicationConfigurerof Axon Framework's configuration API.Encapsulates workflow module configuration.Parameter resolver factory serving bothWorkflowbody methods andWorkflowStatusChangedHandlerlifecycle methods, resolvingWorkflowContext,WorkflowStatus,WorkflowState, and any type wrapping aWorkflowContext.WorkflowModule<C extends WorkflowContext>A workflowModulethat encapsulates the configuration for one or more workflow definitions, all sharing the sameWorkflowContexttype defined by the genericC.WorkflowModule.OptionalPhase<C extends WorkflowContext>Terminal phase of the module's building process, in which a multitude of optional components can be set:WorkflowModule.OptionalPhase.definition(Function)- add another workflow definition to this module.WorkflowModule.OptionalPhase.processorConfiguration(Function)- customize thePooledStreamingEventProcessorConfigurationbacking this module's event processor.WorkflowModule.OptionalPhase.withHistory(ComponentBuilder)/WorkflowModule.OptionalPhase.withoutHistory()- enable or disable workflow history tracking.WorkflowModule.OptionalPhase.historyProcessorConfiguration(Function)- customize thePooledStreamingEventProcessorConfigurationbacking the history projector's own event processor.WorkflowModule.OptionalPhase.contextFactory(ComponentBuilder)- override theWorkflowContextFactoryused to create theWorkflowContextfor each workflow execution.WorkflowModule.OptionalPhase.configurationRegistry(ComponentBuilder)- override theWorkflowConfigurationRegistrystoring workflow configurations and their start conditions.WorkflowModule.OptionalPhase.executionRepository(ComponentBuilder)- override theWorkflowExecutionRepositorypersisting and retrieving workflow instances.Phase of the module's building process in which one or more workflow definitions are provided.Phase of the workflow definition process in which the detection strategy is chosen.Terminal phase of the workflow definition process, indicating the workflow definition is complete.Phase of the declarative workflow definition process in which the workflow is named.Phase of the declarative workflow definition process in which the trigger condition is defined.Phase of the declarative workflow definition process in which optional customizations can be applied.