Interface EventTypeFilter

All Superinterfaces:
Predicate<org.projectnessie.events.api.EventType>

public interface EventTypeFilter extends Predicate<org.projectnessie.events.api.EventType>
A filter for EventTypes.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    all()
    Returns a filter that matches all EventTypes.
    Returns a filter that matches no EventTypes.
    of(Collection<org.projectnessie.events.api.EventType> eventTypes)
    Returns a filter that matches any of the given EventTypes.
    of(org.projectnessie.events.api.EventType eventType)
    Returns a filter that matches only the given EventType.
    of(org.projectnessie.events.api.EventType... eventTypes)
    Returns a filter that matches any of the given EventTypes.

    Methods inherited from interface java.util.function.Predicate

    and, negate, or, test
  • Method Details

    • all

      static EventTypeFilter all()
      Returns a filter that matches all EventTypes.
    • none

      static EventTypeFilter none()
      Returns a filter that matches no EventTypes.
    • of

      static EventTypeFilter of(org.projectnessie.events.api.EventType eventType)
      Returns a filter that matches only the given EventType.
    • of

      static EventTypeFilter of(org.projectnessie.events.api.EventType... eventTypes)
      Returns a filter that matches any of the given EventTypes.
    • of

      static EventTypeFilter of(Collection<org.projectnessie.events.api.EventType> eventTypes)
      Returns a filter that matches any of the given EventTypes.