public enum SerdePhase extends java.lang.Enum<SerdePhase>
Use this enum to specify when certain "serde" annotations apply.
| Enum Constant and Description |
|---|
BOTH
Apply the annotation when serializing and deserializing.
|
DESERIALIZING
Only apply the annotation when deserializing.
|
SERIALIZING
Only apply the annotation when serializing.
|
| Modifier and Type | Method and Description |
|---|---|
static SerdePhase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SerdePhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerdePhase SERIALIZING
public static final SerdePhase DESERIALIZING
public static final SerdePhase BOTH
public static SerdePhase[] values()
for (SerdePhase c : SerdePhase.values()) System.out.println(c);
public static SerdePhase valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null