|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.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 |
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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, 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 final 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 namepublic 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||