public enum OnMismatch extends Enum<OnMismatch>
Enum Constant and Description |
---|
ERROR
abort and throw error
|
LOG_WARN
don't stop.
|
LOG_WARN_ONCE
don't stop.
|
SILENT
silently ignore and go on.
|
Modifier and Type | Method and Description |
---|---|
String |
toKey() |
static OnMismatch |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OnMismatch[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final OnMismatch ERROR
public static final OnMismatch LOG_WARN
public static final OnMismatch LOG_WARN_ONCE
public static final OnMismatch SILENT
public String toKey()
public static OnMismatch valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static OnMismatch[] values()
for (OnMismatch c : OnMismatch.values()) System.out.println(c);
Copyright © 2015. All rights reserved.