Class RevisionSnapshotFilter

java.lang.Object
org.axonframework.eventsourcing.snapshotting.RevisionSnapshotFilter
All Implemented Interfaces:
Predicate<DomainEventData<?>>, SnapshotFilter

public class RevisionSnapshotFilter extends Object implements SnapshotFilter
A SnapshotFilter implementation which based on a configurable allowed revision will only SnapshotFilter.allow(DomainEventData) DomainEventData containing that revision. True will also be returned if the DomainEventData.getType() does not match the given type, as in compliance with the SnapshotFilter documentation.
Since:
4.5
Author:
Steven van Beelen