public enum OnRequiredConversion extends java.lang.Enum<OnRequiredConversion>
| Enum Constant and Description |
|---|
CONVERT
silently convert and go on
|
CONVERT_AND_LOG
log every conversion and go on
|
CONVERT_AND_LOG_ONCE
log only one conversion and go on
|
ERROR
abort and throw error
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toKey() |
static OnRequiredConversion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OnRequiredConversion[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final OnRequiredConversion CONVERT
public static final OnRequiredConversion CONVERT_AND_LOG
public static final OnRequiredConversion CONVERT_AND_LOG_ONCE
public static final OnRequiredConversion ERROR
public java.lang.String toKey()
public static OnRequiredConversion 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 nullpublic static OnRequiredConversion[] values()
for (OnRequiredConversion c : OnRequiredConversion.values())
System.out.println(c);