Enum Class ObfuscatorProperties.ObfuscationMode
java.lang.Object
java.lang.Enum<ObfuscatorProperties.ObfuscationMode>
com.github.robtimus.obfuscation.spring.boot.autoconfigure.ObfuscatorProperties.ObfuscationMode
- All Implemented Interfaces:
Serializable
,Comparable<ObfuscatorProperties.ObfuscationMode>
,Constable
- Enclosing class:
- ObfuscatorProperties
public static enum ObfuscatorProperties.ObfuscationMode
extends Enum<ObfuscatorProperties.ObfuscationMode>
The supported obfuscation modes.
- Author:
- Rob Spoor
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicatesObfuscator.all(char)
should be used.IndicatesObfuscator.fixedLength(int, char)
should be used.IndicatesObfuscator.fixedValue(String)
should be used.IndicatesObfuscator.none()
should be used.IndicatesObfuscator.portion()
should be used.Indicates a customObfuscatorProvider
should be used. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ObfuscatorProperties.ObfuscationMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
IndicatesObfuscator.all(char)
should be used. -
NONE
IndicatesObfuscator.none()
should be used. -
FIXED_LENGTH
IndicatesObfuscator.fixedLength(int, char)
should be used. -
FIXED_VALUE
IndicatesObfuscator.fixedValue(String)
should be used. -
PORTION
IndicatesObfuscator.portion()
should be used. -
PROVIDER
Indicates a customObfuscatorProvider
should be used.
-
-
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
-