Uses of Interface
io.axoniq.framework.workflow.configuration.WorkflowModule
Packages that use WorkflowModule
Package
Description
Package containing workflow configuration components.
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.-
Uses of WorkflowModule in io.axoniq.framework.workflow.configuration
Subinterfaces of WorkflowModule in io.axoniq.framework.workflow.configurationModifier and TypeInterfaceDescriptionstatic interfaceWorkflowModule.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.Methods in io.axoniq.framework.workflow.configuration with parameters of type WorkflowModuleModifier and TypeMethodDescriptionWorkflowConfigurer.registerWorkflowModule(WorkflowModule<?> workflowModule) Registers a workflow module. -
Uses of WorkflowModule in io.axoniq.framework.workflow.runtime.test.fixture
Methods in io.axoniq.framework.workflow.runtime.test.fixture that return WorkflowModuleModifier and TypeMethodDescriptionstatic <T extends WorkflowContext>
WorkflowModule<T> WorkflowTestFixture.workflowModule(Class<T> contextType, ComponentBuilder<WorkflowContextFactory<T>> workflowContextFactoryBuilder, ComponentBuilder<Object> workflowInstanceBuilder) Builds an autodetectedWorkflowModuleregistered underWorkflowTestServices.DEFAULT_MODULE_NAME, ready to be passed intoWorkflowTestFixture.of(WorkflowModule)orWorkflowTestFixture.of(WorkflowModule, UnaryOperator).Methods in io.axoniq.framework.workflow.runtime.test.fixture with parameters of type WorkflowModuleModifier and TypeMethodDescriptionstatic <C extends WorkflowContext>
WorkflowTestDriverWorkflowTestDriver.live(WorkflowModule<C> workflowModule, boolean throwFixtureException, UnaryOperator<WorkflowConfigurer> customize) Creates a new test driver in live mode.static <C extends WorkflowContext>
WorkflowTestDriverWorkflowTestDriver.live(WorkflowModule<C> workflowModule, UnaryOperator<WorkflowConfigurer> customize) Creates a new test driver in live mode.static <T extends WorkflowContext>
WorkflowTestFixture<GivenWhen.Phase, Then.Phase> WorkflowTestFixture.of(WorkflowModule<T> workflowModule) Creates a fixture with the default action and assertion phases.static <T extends WorkflowContext>
WorkflowTestFixture<GivenWhen.Phase, Then.Phase> WorkflowTestFixture.of(WorkflowModule<T> workflowModule, UnaryOperator<WorkflowConfigurer> customize) Creates a fixture with the default action and assertion phases and a custom configuration step.static <T extends WorkflowContext,ACTION extends GivenWhen<ACTION, ASSERT>, ASSERT extends Then<ASSERT, ACTION>>
WorkflowTestFixture<ACTION, ASSERT> WorkflowTestFixture.of(WorkflowModule<T> workflowModule, UnaryOperator<WorkflowConfigurer> customize, ACTION givenWhenPhase, ASSERT thenPhase) Creates a fixture with caller-supplied action and assertion phases.static <C extends WorkflowContext>
WorkflowTestDriverWorkflowTestDriver.stepper(WorkflowModule<C> workflowModule, boolean throwFixtureException, UnaryOperator<WorkflowConfigurer> customize) Constructs a new test driver in stepping mode.