public static enum StatusCodes.Severity extends java.lang.Enum<StatusCodes.Severity>
Enum Constant and Description |
---|
ERROR
Validation problems give an error.
|
IGNORE
Validation is suppressed and so ignored
|
WARNING
Validation problems give a warning.
|
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode() |
static StatusCodes.Severity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatusCodes.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusCodes.Severity IGNORE
public static final StatusCodes.Severity WARNING
public static final StatusCodes.Severity ERROR
public static StatusCodes.Severity[] values()
for (StatusCodes.Severity c : StatusCodes.Severity.values()) System.out.println(c);
public static StatusCodes.Severity 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 int getStatusCode()