public static enum Message.Kind extends java.lang.Enum<Message.Kind>
Enum Constant and Description |
---|
ERROR |
INFO |
SIMPLE |
STATISTICS |
UNKNOWN |
WARNING |
Modifier and Type | Method and Description |
---|---|
static Message.Kind |
findIgnoringCase(java.lang.String s) |
static Message.Kind |
findIgnoringCase(java.lang.String s,
Message.Kind defaultKind) |
static Message.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Message.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Kind ERROR
public static final Message.Kind WARNING
public static final Message.Kind INFO
public static final Message.Kind STATISTICS
public static final Message.Kind UNKNOWN
public static final Message.Kind SIMPLE
public static Message.Kind[] values()
for (Message.Kind c : Message.Kind.values()) System.out.println(c);
public static Message.Kind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Message.Kind findIgnoringCase(java.lang.String s, Message.Kind defaultKind)
@Nullable public static Message.Kind findIgnoringCase(java.lang.String s)