Uses of Record Class
io.axoniq.framework.workflow.runtime.association.Associations
Packages that use Associations
Package
Description
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.
The association DSL used to correlate incoming events with waiting workflow steps, including value retrievers,
comparison operators, and their serialized representation.
-
Uses of Associations in io.axoniq.framework.workflow.dsl.api
Methods in io.axoniq.framework.workflow.dsl.api with parameters of type AssociationsModifier and TypeMethodDescriptionstatic EventConditionEventConditions.fromQualifiedName(QualifiedName qualifiedName, Associations associations) Constructs an event condition from the qualified name and serialized associations.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. -
Uses of Associations in io.axoniq.framework.workflow.dsl.simple
Methods in io.axoniq.framework.workflow.dsl.simple with parameters of type AssociationsModifier and TypeMethodDescription<T> TSimpleWorkflowContext.awaitEvent(String stepName, Class<T> eventType, Associations conditions, UnaryOperator<WaitForStepDefinition> customizer) Waits for an event of the given type that matches the provided association conditions and returns the converted event payload.SimpleWorkflowContext.waitForEvent(String stepName, Class<?> eventType, Associations conditions) Waits for an event of the given type that matches the provided association conditions.SimpleWorkflowContext.waitForEvent(String stepName, Class<?> eventType, Associations conditions, UnaryOperator<WaitForStepDefinition> customizer) Waits for an event of the given type that matches the provided association conditions. -
Uses of Associations in io.axoniq.framework.workflow.runtime.association
Methods in io.axoniq.framework.workflow.runtime.association that return AssociationsModifier and TypeMethodDescriptionAssociations.and(ValueRetriever retriever, Associations.Matcher matcher) Add additional association to existing ones.Associations.and(ValueRetriever retriever, String operator, Object value) Add additional associations to existing ones.static AssociationsAssociations.associate(ValueRetriever retriever, Associations.Matcher matcher) Create associations providing the first one.static AssociationsAssociations.associate(ValueRetriever retriever, String operator, Object value) Create new associations providing the first one.static AssociationsAssociations.parse(ValueComparisonOperatorRegistry registry, String... associations) Creates new associations parsing string representations.