public enum EventLevel extends Enum<EventLevel>
| Enum Constant and Description |
|---|
CRITICAL
Enum value Critical.
|
ERROR
Enum value Error.
|
INFORMATIONAL
Enum value Informational.
|
VERBOSE
Enum value Verbose.
|
WARNING
Enum value Warning.
|
| Modifier and Type | Method and Description |
|---|---|
static EventLevel |
fromString(String value)
Parses a serialized value to a EventLevel instance.
|
String |
toString() |
static EventLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventLevel CRITICAL
public static final EventLevel ERROR
public static final EventLevel WARNING
public static final EventLevel INFORMATIONAL
public static final EventLevel VERBOSE
public static EventLevel[] values()
for (EventLevel c : EventLevel.values()) System.out.println(c);
public static EventLevel 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 static EventLevel fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<EventLevel>Copyright © 2019. All rights reserved.