Class MetaDataSequencingPolicy.Builder
java.lang.Object
org.axonframework.eventhandling.async.MetaDataSequencingPolicy.Builder
- Enclosing class:
MetaDataSequencingPolicy
Builder class to instantiate a
MetaDataSequencingPolicy.
The following fields of this builder are hard requirements and as such should be provided:
- The
metaDataKeykey to be used as a lookup for the property to be used as the Sequence Policy.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Initializes aMetaDataSequencingPolicyas specified through this Builder.metaDataKey(String metaDataKey) Defines the metaDataKey key to be used as a lookup for the property to be used as the Sequence Policy.protected voidvalidate()
-
Method Details
-
metaDataKey
Defines the metaDataKey key to be used as a lookup for the property to be used as the Sequence Policy.- Parameters:
metaDataKey- Key to be used as a lookup for the property to be used as the Sequence Policy.- Returns:
- The current Builder instance, for fluent interfacing.
-
build
Initializes aMetaDataSequencingPolicyas specified through this Builder.- Returns:
- A
MetaDataSequencingPolicyas specified through this Builder.
-
validate
protected void validate()
-