public static enum StatusCodes.Severity extends Enum<StatusCodes.Severity>
Enum Constant and Description |
---|
ERROR
Validation problems give an error.
|
IGNORE
Validation is suppressed and so ignored
|
INFO
Validation problems give an info.
|
WARNING
Validation problems give a warning.
|
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode() |
static StatusCodes.Severity |
valueOf(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 INFO
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(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 int getStatusCode()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.