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