public enum ListSeverity extends Enum<ListSeverity>
Enum Constant and Description |
---|
ALARM |
ERROR |
INFORMATION |
OK |
WARNING |
Modifier and Type | Method and Description |
---|---|
Severity |
getSeverity() |
static ListSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListSeverity OK
public static final ListSeverity INFORMATION
public static final ListSeverity WARNING
public static final ListSeverity ALARM
public static final ListSeverity ERROR
public static ListSeverity[] values()
for (ListSeverity c : ListSeverity.values()) System.out.println(c);
public static ListSeverity 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 Severity getSeverity()