java.lang.Object
java.lang.Enum<TokenFilter.Inclusion>
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.filter.TokenFilter.Inclusion
All Implemented Interfaces:
Serializable, Comparable<TokenFilter.Inclusion>, java.lang.constant.Constable
Enclosing class:
TokenFilter

public static enum TokenFilter.Inclusion extends Enum<TokenFilter.Inclusion>
Enumeration that controls how TokenFilter return values are interpreted.
Since:
2.12
  • Enum Constant Details

    • ONLY_INCLUDE_ALL

      public static final TokenFilter.Inclusion ONLY_INCLUDE_ALL
      Tokens will only be included if the filter returns TokenFilter.INCLUDE_ALL
    • INCLUDE_ALL_AND_PATH

      public static final TokenFilter.Inclusion INCLUDE_ALL_AND_PATH
      When TokenFilter.INCLUDE_ALL is returned, the corresponding token will be included as well as enclosing tokens up to the root
    • INCLUDE_NON_NULL

      public static final TokenFilter.Inclusion INCLUDE_NON_NULL
      Tokens will be included if any non-null filter is returned. The exception is if a field name returns a non-null filter, but the field value returns a null filter. In this case the field name and value will both be omitted.
  • Method Details

    • values

      public static TokenFilter.Inclusion[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TokenFilter.Inclusion valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null