Class EventAssociationsUtils
java.lang.Object
io.axoniq.framework.workflow.dsl.api.EventAssociationsUtils
DSL-level helpers for authoring serialized event associations.
- Since:
- 5.4.0
- Author:
- Simon Zambrovski
-
Method Summary
Modifier and TypeMethodDescriptionstatic Associations.MatcherShort alias forequalsTo(Object).static Associations.MatcherCreates an equals matcher for the association DSL.static ValueRetrievermetadataProperty(String propertyName) Creates a metadata-property association source.static ValueRetrieverpayloadProperty(String propertyName) Creates a payload-property association source.
-
Method Details
-
payloadProperty
Creates a payload-property association source.- Parameters:
propertyName- payload property name- Returns:
- payload-property retriever
-
metadataProperty
Creates a metadata-property association source.- Parameters:
propertyName- metadata key- Returns:
- metadata-property retriever
-
equalsTo
Creates an equals matcher for the association DSL.- Parameters:
value- expected association value- Returns:
- equals matcher
-
eq
Short alias forequalsTo(Object).- Parameters:
value- expected association value- Returns:
- equals matcher
-