|
GemFire 6.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.admin.AlertLevel
public class AlertLevel
Type-safe enumeration for Alert level.
| Field Summary | |
|---|---|
static AlertLevel |
ERROR
|
static AlertLevel |
OFF
|
int |
ordinal
int used as ordinal to represent this AlertLevel |
static AlertLevel |
SEVERE
|
static AlertLevel |
WARNING
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Indicates whether some other object is "equal to" this one. |
static AlertLevel |
forName(String name)
Returns the AlertLevel with the given name |
static AlertLevel |
forSeverity(int severity)
Returns the AlertLevel for the given severity |
static AlertLevel |
fromOrdinal(int ordinal)
Return the AlertLevel represented by specified ordinal |
String |
getName()
|
int |
getSeverity()
|
int |
hashCode()
Returns a hash code for the object. |
String |
toString()
Returns a string representation for this alert level. |
static AlertLevel[] |
values()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final AlertLevel WARNING
public static final AlertLevel ERROR
public static final AlertLevel SEVERE
public static final AlertLevel OFF
public final int ordinal
| Method Detail |
|---|
public static AlertLevel fromOrdinal(int ordinal)
public static AlertLevel forSeverity(int severity)
AlertLevel for the given severity
IllegalArgumentException - If there is no alert level with the given
severitypublic static AlertLevel forName(String name)
AlertLevel with the given name
IllegalArgumentException - If there is no alert level named namepublic int getSeverity()
public String getName()
public static AlertLevel[] values()
public String toString()
toString in class Objectpublic boolean equals(Object other)
equals in class Objectother - the reference object with which to compare.
public int hashCode()
hashCode in class Object
|
GemFire 6.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||