- java.lang.Object
-
- java.lang.Enum<SerializationConfig.TraceOption>
-
- io.helidon.common.SerializationConfig.TraceOption
-
- All Implemented Interfaces:
Serializable
,Comparable<SerializationConfig.TraceOption>
- Enclosing class:
- SerializationConfig
public static enum SerializationConfig.TraceOption extends Enum<SerializationConfig.TraceOption>
Deserialization tracing options.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SerializationConfig.TraceOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static SerializationConfig.TraceOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASIC
public static final SerializationConfig.TraceOption BASIC
Basic tracing will only trace attempts to deserialize a class, and only once for each class.
-
FULL
public static final SerializationConfig.TraceOption FULL
Full tracing traces any request to the deserialization filter.
-
NONE
public static final SerializationConfig.TraceOption NONE
No deserialization tracing done.
-
-
Method Detail
-
values
public static SerializationConfig.TraceOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SerializationConfig.TraceOption c : SerializationConfig.TraceOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SerializationConfig.TraceOption valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-