public static enum Status.Severity extends Enum<Status.Severity>
Enum Constant and Description |
---|
ERROR
Indicates an error status.
|
INFO
Indicates an informational status.
|
OK
Indicates an OK status.
|
UNKNOWN
Indicates an unknown status.
|
WARNING
Indicates a warning status.
|
Modifier and Type | Method and Description |
---|---|
static Status.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status.Severity ERROR
public static final Status.Severity INFO
public static final Status.Severity OK
public static final Status.Severity UNKNOWN
null
severity.public static final Status.Severity WARNING
public static Status.Severity[] values()
for (Status.Severity c : Status.Severity.values()) System.out.println(c);
public static Status.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 nullCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.