|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<EventSeverity> org.rhq.core.domain.event.EventSeverity
public enum EventSeverity
The severity of an Event
. Values are ordered from least to most severe.
Enum Constant Summary | |
---|---|
DEBUG
|
|
ERROR
|
|
FATAL
|
|
INFO
|
|
WARN
|
Method Summary | |
---|---|
int |
getOrdinal()
Getter for use in JSP pages |
EventSeverity[] |
getValues()
|
boolean |
isAtLeastAsSevereAs(EventSeverity other)
Determine if this severity is at least as severe as that of other |
boolean |
isMoreSevereThan(EventSeverity other)
Determine if this severity is more severe than that of other |
String |
toString()
|
static EventSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EventSeverity[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EventSeverity DEBUG
public static final EventSeverity INFO
public static final EventSeverity WARN
public static final EventSeverity ERROR
public static final EventSeverity FATAL
Method Detail |
---|
public static EventSeverity[] values()
for (EventSeverity c : EventSeverity.values()) System.out.println(c);
public static EventSeverity valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean isMoreSevereThan(EventSeverity other)
other
- EventSeverity to compare
public boolean isAtLeastAsSevereAs(EventSeverity other)
other
- EventSeverity to compare
public int getOrdinal()
Enum.ordinal()
public EventSeverity[] getValues()
public String toString()
toString
in class Enum<EventSeverity>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |