Class FilterSet.Entry<E extends Filter>

java.lang.Object
org.apache.jackrabbit.vault.fs.api.FilterSet.Entry<E>
All Implemented Interfaces:
Dumpable
Enclosing class:
FilterSet<E extends Filter>

public static class FilterSet.Entry<E extends Filter> extends Object implements Dumpable
Holds a filter entry
  • Constructor Summary

    Constructors
    Constructor
    Description
    Entry(E filter, boolean include)
    Constructs a new entry
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    dump(@NotNull DumpContext ctx, boolean isLast)
    Dumps some human readable information using the given context.
    boolean
    Returns the filter of this entry
    int
    boolean
    Returns the 'include' flag of this entry
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Entry

      public Entry(@NotNull E filter, boolean include)
      Constructs a new entry
      Parameters:
      filter - the filter
      include - the include flag
  • Method Details

    • getFilter

      @NotNull public E getFilter()
      Returns the filter of this entry
      Returns:
      the filter
    • isInclude

      public boolean isInclude()
      Returns the 'include' flag of this entry
      Returns:
      the flag
    • dump

      public void dump(@NotNull @NotNull DumpContext ctx, boolean isLast)
      Dumps some human readable information using the given context.
      Specified by:
      dump in interface Dumpable
      Parameters:
      ctx - the dump context
      isLast - specifies if this is the last element to dump on this level
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object