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 for EventTypes.
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static EventTypeFilter all()
      Returns a filter that matches all EventTypes.
      static EventTypeFilter none()
      Returns a filter that matches no EventTypes.
      static EventTypeFilter of​(java.util.Collection<org.projectnessie.events.api.EventType> eventTypes)
      Returns a filter that matches any of the given EventTypes.
      static EventTypeFilter of​(org.projectnessie.events.api.EventType eventType)
      Returns a filter that matches only the given EventType.
      static EventTypeFilter 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 Detail

      • 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​(java.util.Collection<org.projectnessie.events.api.EventType> eventTypes)
        Returns a filter that matches any of the given EventTypes.