public enum LogEntryKind extends Enum<LogEntryKind>
Enum Constant and Description |
---|
ERROR
A log identifying an error message.
|
OUTPUT
A regular output log message.
|
PROGRESS
A log identifying a progress information.
|
WARNING
A log identifying a warning message.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of log type.
|
String |
toString() |
static LogEntryKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogEntryKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogEntryKind OUTPUT
public static final LogEntryKind WARNING
public static final LogEntryKind ERROR
public static final LogEntryKind PROGRESS
public static LogEntryKind[] values()
for (LogEntryKind c : LogEntryKind.values()) System.out.println(c);
public static LogEntryKind 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 String getName()
public String toString()
toString
in class Enum<LogEntryKind>