Uses of Interface
io.axoniq.framework.workflow.configuration.WorkflowModule.OptionalPhase
Packages that use WorkflowModule.OptionalPhase
Package
Description
Package containing workflow configuration components.
-
Uses of WorkflowModule.OptionalPhase in io.axoniq.framework.workflow.configuration
Methods in io.axoniq.framework.workflow.configuration that return WorkflowModule.OptionalPhaseModifier and TypeMethodDescriptionWorkflowModule.OptionalPhase.configurationRegistry(ComponentBuilder<WorkflowConfigurationRegistry<?>> workflowConfigurationRegistry) Registers the givenComponentBuilderof aWorkflowConfigurationRegistryas the registry for the workflow module being built.WorkflowModule.OptionalPhase.contextFactory(ComponentBuilder<WorkflowContextFactory<C>> workflowContextFactory) Registers the givenComponentBuilderof aWorkflowContextFactoryas the context factory for the workflow module being built, overriding any factory a DSL module registered forWorkflowModule.contextType().WorkflowModule.OptionalPhase.definition(Function<WorkflowModule.WorkflowDefinitionPhase.DetectionPhase<C>, WorkflowModule.WorkflowDefinitionPhase.FinalizedPhase<C>> definition) Add another workflow definition to this module, which already received one or more via the fluentWorkflowModule.WorkflowDefinitionPhase.definition(Function)entry point.WorkflowModule.WorkflowDefinitionPhase.definition(Function<WorkflowModule.WorkflowDefinitionPhase.DetectionPhase<C>, WorkflowModule.WorkflowDefinitionPhase.FinalizedPhase<C>> definition) Defines the workflow definitions for this module.WorkflowModule.OptionalPhase.executionRepository(ComponentBuilder<WorkflowExecutionRepository> workflowExecutionRepository) Registers the givenComponentBuilderof aWorkflowExecutionRepositoryas the repository for the workflow module being built.WorkflowModule.OptionalPhase.historyProcessorConfiguration(Function<PooledStreamingEventProcessorConfiguration, PooledStreamingEventProcessorConfiguration> historyProcessorConfiguration) Applies the givenhistoryProcessorConfigurationfunction to thePooledStreamingEventProcessorConfigurationbacking the history projector's own, dedicated event processor.WorkflowModule.OptionalPhase.processorConfiguration(Function<PooledStreamingEventProcessorConfiguration, PooledStreamingEventProcessorConfiguration> processorConfiguration) Applies the givenprocessorConfigurationfunction to thePooledStreamingEventProcessorConfigurationbacking this module's event processor.WorkflowModule.OptionalPhase.withHistory(ComponentBuilder<MutableWorkflowHistoryRepository> workflowHistoryRepository) Enables workflow history tracking, storing collected history in the givenMutableWorkflowHistoryRepository.WorkflowModule.OptionalPhase.withoutHistory()Disables workflow history tracking for this module.