Enum Class JSONObfuscator.PropertyConfigurer.ObfuscationMode
java.lang.Object
java.lang.Enum<JSONObfuscator.PropertyConfigurer.ObfuscationMode>
com.github.robtimus.obfuscation.jackson.JSONObfuscator.PropertyConfigurer.ObfuscationMode
- All Implemented Interfaces:
Serializable,Comparable<JSONObfuscator.PropertyConfigurer.ObfuscationMode>,Constable
- Enclosing interface:
- JSONObfuscator.PropertyConfigurer
public static enum JSONObfuscator.PropertyConfigurer.ObfuscationMode
extends Enum<JSONObfuscator.PropertyConfigurer.ObfuscationMode>
The possible ways to deal with nested objects and arrays.
- Author:
- Rob Spoor
- Since:
- 1.3
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDon't obfuscate nested objects or arrays, but instead traverse into them.Don't obfuscate nested objects or arrays, but use the obfuscator for all nested scalar properties.Don't obfuscate nested objects or arrays, but use the obfuscator for all nested scalar properties.Obfuscate nested objects and arrays completely. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXCLUDE
Don't obfuscate nested objects or arrays, but instead traverse into them. -
OBFUSCATE
Obfuscate nested objects and arrays completely. -
INHERIT
Don't obfuscate nested objects or arrays, but use the obfuscator for all nested scalar properties. -
INHERIT_OVERRIDABLE
Don't obfuscate nested objects or arrays, but use the obfuscator for all nested scalar properties. If a nested property has its own obfuscator defined this will be used instead.
-
-
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
-