Package org.projectnessie.events.spi
Interface EventTypeFilter
-
- All Superinterfaces:
java.util.function.Predicate<org.projectnessie.events.api.EventType>
public interface EventTypeFilter extends java.util.function.Predicate<org.projectnessie.events.api.EventType>A filter forEventTypes.
-
-
Method Summary
Static Methods Modifier and Type Method Description static EventTypeFilterall()Returns a filter that matches allEventTypes.static EventTypeFilternone()Returns a filter that matches noEventTypes.static EventTypeFilterof(java.util.Collection<org.projectnessie.events.api.EventType> eventTypes)Returns a filter that matches any of the givenEventTypes.static EventTypeFilterof(org.projectnessie.events.api.EventType eventType)Returns a filter that matches only the givenEventType.static EventTypeFilterof(org.projectnessie.events.api.EventType... eventTypes)Returns a filter that matches any of the givenEventTypes.
-
-
-
Method Detail
-
all
static EventTypeFilter all()
Returns a filter that matches allEventTypes.
-
none
static EventTypeFilter none()
Returns a filter that matches noEventTypes.
-
of
static EventTypeFilter of(org.projectnessie.events.api.EventType eventType)
Returns a filter that matches only the givenEventType.
-
of
static EventTypeFilter of(org.projectnessie.events.api.EventType... eventTypes)
Returns a filter that matches any of the givenEventTypes.
-
of
static EventTypeFilter of(java.util.Collection<org.projectnessie.events.api.EventType> eventTypes)
Returns a filter that matches any of the givenEventTypes.
-
-