public class EqualRevisionPredicate extends Object implements Predicate<org.axonframework.eventhandling.DomainEventData<?>>
DomainEventData instances that have a revision 'equal' to the
revision of the class is has serialized data for. The RevisionResolver is used to resolve the revision
of the Class represented by the DomainEventData.| Constructor and Description |
|---|
EqualRevisionPredicate(org.axonframework.serialization.RevisionResolver resolver,
org.axonframework.serialization.Serializer serializer)
Initializes the Predicate with given
resolver to resolve revision of the class represented by the
serialized data. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(org.axonframework.eventhandling.DomainEventData<?> snapshot) |
public EqualRevisionPredicate(org.axonframework.serialization.RevisionResolver resolver,
org.axonframework.serialization.Serializer serializer)
resolver to resolve revision of the class represented by the
serialized data.resolver - Resolver of type RevisionResolver to resolve the
revision of aggregate corresponding to the snapshotserializer - The serializer used to read the payload data, in order to resolve a classCopyright © 2010–2024. All rights reserved.