- All Implemented Interfaces:
Serializable
,Comparable<SerializationConfig.Action>
,Constable
- Enclosing class:
SerializationConfig
What action to take if there is no global filter configured,
or if the configuration is not according to Helidon expectations.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAttempt to configure the correct values.Fail by throwing anIllegalStateException
.Ignore the problem and continue as if nothing happened.Warn in the log file. -
Method Summary
Modifier and TypeMethodDescriptionstatic SerializationConfig.Action
Returns the enum constant of this class with the specified name.static SerializationConfig.Action[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FAIL
Fail by throwing anIllegalStateException
. -
WARN
Warn in the log file. -
CONFIGURE
Attempt to configure the correct values. Note that this may behave asFAIL
for cases where reconfiguration is not possible. -
IGNORE
Ignore the problem and continue as if nothing happened.
-
-
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
-