com.jivesoftware.base.event
Enum LogEvent.Type
java.lang.Object
java.lang.Enum<LogEvent.Type>
com.jivesoftware.base.event.LogEvent.Type
- All Implemented Interfaces:
- Serializable, Comparable<LogEvent.Type>
- Enclosing class:
- LogEvent
public static enum LogEvent.Type
- extends Enum<LogEvent.Type>
|
Method Summary |
static LogEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LogEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
FATAL
public static final LogEvent.Type FATAL
ERROR
public static final LogEvent.Type ERROR
WARN
public static final LogEvent.Type WARN
INFO
public static final LogEvent.Type INFO
DEBUG
public static final LogEvent.Type DEBUG
values
public static final LogEvent.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(LogEvent.Type c : LogEvent.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static LogEvent.Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
Copyright © 1999-2007 Jive Software.