com.caucho.management.server
Enum HealthEventLog.HealthEventLogType
java.lang.Object
java.lang.Enum<HealthEventLog.HealthEventLogType>
com.caucho.management.server.HealthEventLog.HealthEventLogType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<HealthEventLog.HealthEventLogType>
- Enclosing class:
- HealthEventLog
public static enum HealthEventLog.HealthEventLogType
- extends java.lang.Enum<HealthEventLog.HealthEventLogType>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
START_MESSAGE
public static final HealthEventLog.HealthEventLogType START_MESSAGE
START_TIME
public static final HealthEventLog.HealthEventLogType START_TIME
CHECK
public static final HealthEventLog.HealthEventLogType CHECK
RECHECK
public static final HealthEventLog.HealthEventLogType RECHECK
RECOVER
public static final HealthEventLog.HealthEventLogType RECOVER
ACTION
public static final HealthEventLog.HealthEventLogType ACTION
ANOMALY
public static final HealthEventLog.HealthEventLogType ANOMALY
values
public static HealthEventLog.HealthEventLogType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (HealthEventLog.HealthEventLogType c : HealthEventLog.HealthEventLogType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static HealthEventLog.HealthEventLogType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getName
public java.lang.String getName()
getDescription
public java.lang.String getDescription()
fromTypeName
public static HealthEventLog.HealthEventLogType fromTypeName(java.lang.String name)