Enum Class TokenFilter.Inclusion
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
Enumeration that controls how TokenFilter return values are interpreted.
- Since:
- 2.12
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWhen TokenFilter.INCLUDE_ALL is returned, the corresponding token will be included as well as enclosing tokens up to the rootTokens will be included if any non-null filter is returned.Tokens will only be included if the filter returns TokenFilter.INCLUDE_ALL -
Method Summary
Modifier and TypeMethodDescriptionstatic TokenFilter.Inclusion
Returns the enum constant of this class with the specified name.static TokenFilter.Inclusion[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ONLY_INCLUDE_ALL
Tokens will only be included if the filter returns TokenFilter.INCLUDE_ALL -
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
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
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
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 nameNullPointerException
- if the argument is null
-