Uses of Interface
io.axoniq.framework.workflow.dsl.api.EventCondition
Packages that use EventCondition
Package
Description
Package containing workflow configuration components.
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.
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 EventCondition in io.axoniq.framework.workflow.configuration
Method parameters in io.axoniq.framework.workflow.configuration with type arguments of type EventConditionModifier and TypeMethodDescriptionWorkflowModule.WorkflowDefinitionPhase.OnPhase.on(ComponentBuilder<EventCondition> startCondition) Registers the givenEventConditionas the trigger for starting new instances of the workflow being built. -
Uses of EventCondition in io.axoniq.framework.workflow.dsl.api
Methods in io.axoniq.framework.workflow.dsl.api that return EventConditionModifier and TypeMethodDescriptionWaitForStepDefinition.eventCondition()Returns the value of theeventConditionrecord component.static EventConditionEventConditions.fromQualifiedName(QualifiedName qualifiedName) Constructs an event condition without **message predicate** from the qualified name which matches all messages with the given qualified name.static EventConditionEventConditions.fromQualifiedName(QualifiedName qualifiedName, Associations associations) Constructs an event condition from the qualified name and serialized associations.static EventConditionEventConditions.never()Returns event condition which can't be fulfilled ever.static EventConditionEventConditions.never(QualifiedName qualifiedName) Creates a condition for an event with the given qualified name, which will never match.Methods in io.axoniq.framework.workflow.dsl.api that return types with arguments of type EventConditionModifier and TypeMethodDescriptionstatic ComponentBuilder<EventCondition> Constructs an event condition without **message predicate** for the qualified name represented by the given type.static ComponentBuilder<EventCondition> EventConditions.fromType(Class<?> clazz, Associations associations) Constructs an event condition with serialized associations for the qualified name represented by the given type.Methods in io.axoniq.framework.workflow.dsl.api with parameters of type EventConditionModifier and TypeMethodDescriptionWaitForStepDefinition.eventCondition(EventCondition eventCondition) Returns a copy of this definition with the provided event condition.Constructors in io.axoniq.framework.workflow.dsl.api with parameters of type EventConditionModifierConstructorDescriptionWaitForStepDefinition(PrimitiveMetadata primitiveMetadata, EventCondition eventCondition, PayloadMapping payloadMapping, Timing timing) Creates an instance of aWaitForStepDefinitionrecord class. -
Uses of EventCondition in io.axoniq.framework.workflow.dsl.base
Methods in io.axoniq.framework.workflow.dsl.base with parameters of type EventConditionModifier and TypeMethodDescriptionBaseWorkflowContext.awaitEvent(String stepName, EventCondition eventCondition) Starts a wait-for step with default settings and blocks until a matching event arrives.BaseWorkflowContext.awaitEvent(String stepName, EventCondition eventCondition, UnaryOperator<WaitForStepDefinition> customizer) Starts a wait-for step and blocks until a matching event arrives.BaseWorkflowContext.defaultWaitForStepDefinition(String stepName, EventCondition eventCondition) Creates the default wait-for step definition used by the convenience overloads in this class.BaseWorkflowContext.waitForEvent(String stepName, EventCondition eventCondition) Starts a wait-for step with default settings.BaseWorkflowContext.waitForEvent(String stepName, EventCondition eventCondition, UnaryOperator<WaitForStepDefinition> customizer) Starts a wait-for step that completes when a matching event is observed. -
Uses of EventCondition in io.axoniq.framework.workflow.runtime.api.execution.context
Methods in io.axoniq.framework.workflow.runtime.api.execution.context that return EventConditionModifier and TypeMethodDescriptionPrimitiveCommands.WorkflowStepResultWaitForCommand.eventCondition()Returns the value of theeventConditionrecord component.WaitForPrimitive.WaitForCommand.eventCondition()Event condition to wait for.Methods in io.axoniq.framework.workflow.runtime.api.execution.context with parameters of type EventConditionModifier and TypeMethodDescriptionPrimitiveCommands.waitForEvent(String stepName, EventCondition eventCondition, PayloadReducer resultPayloadReducer, Duration duration, EventNameCustomizer eventNameCustomizer) Factory method to create aPrimitiveCommands.WorkflowStepResultWaitForCommand.Constructors in io.axoniq.framework.workflow.runtime.api.execution.context with parameters of type EventConditionModifierConstructorDescriptionWorkflowStepResultWaitForCommand(String stepName, EventCondition eventCondition, PayloadReducer resultPayloadReducer, Duration timeout, EventNameCustomizer eventNameCustomizer) Creates an instance of aWorkflowStepResultWaitForCommandrecord class. -
Uses of EventCondition in io.axoniq.framework.workflow.runtime.execution
Methods in io.axoniq.framework.workflow.runtime.execution with parameters of type EventConditionModifier and TypeMethodDescriptionSimpleWorkflowConfigurationRegistry.register(EventCondition eventCondition, WorkflowConfiguration<?> workflowConfiguration) WorkflowConfigurationRegistry.register(EventCondition eventCondition, WorkflowConfiguration<?> workflowConfiguration)