public static enum HeaderVerification.Mode extends Enum<HeaderVerification.Mode>
Enum Constant and Description |
---|
ERROR
Error on untracked headers.
|
IGNORE
Allow untracked headers.
|
WARN
Warn on untracked headers.
|
Modifier and Type | Method and Description |
---|---|
static HeaderVerification.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderVerification.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeaderVerification.Mode IGNORE
public static final HeaderVerification.Mode WARN
public static final HeaderVerification.Mode ERROR
public static HeaderVerification.Mode[] values()
for (HeaderVerification.Mode c : HeaderVerification.Mode.values()) System.out.println(c);
public static HeaderVerification.Mode 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 null