VMware GemFire Java API Reference
Package org.apache.geode.admin
Class AlertLevel
- java.lang.Object
-
- org.apache.geode.admin.AlertLevel
-
- All Implemented Interfaces:
Serializable
@Deprecated @Immutable public class AlertLevel extends Object implements Serializable
Deprecated.as of 7.0 use themanagementpackage insteadType-safe enumeration forAlertlevel.- Since:
- GemFire 3.5
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AlertLevelERRORDeprecated.static AlertLevelOFFDeprecated.intordinalDeprecated.static AlertLevelSEVEREDeprecated.static AlertLevelWARNINGDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object other)Deprecated.Indicates whether some other object is "equal to" this one.static AlertLevelforName(String name)Deprecated.Returns theAlertLevelwith the given namestatic AlertLevelforSeverity(int severity)Deprecated.Returns theAlertLevelfor the given severitystatic AlertLevelfromOrdinal(int ordinal)Deprecated.Return the AlertLevel represented by specified ordinalStringgetName()Deprecated.intgetSeverity()Deprecated.inthashCode()Deprecated.Returns a hash code for the object.StringtoString()Deprecated.Returns a string representation for this alert level.static AlertLevel[]values()Deprecated.
-
-
-
Field Detail
-
WARNING
@Immutable public static final AlertLevel WARNING
Deprecated.
-
ERROR
@Immutable public static final AlertLevel ERROR
Deprecated.
-
SEVERE
@Immutable public static final AlertLevel SEVERE
Deprecated.
-
OFF
@Immutable public static final AlertLevel OFF
Deprecated.
-
ordinal
public final int ordinal
Deprecated.
-
-
Method Detail
-
fromOrdinal
public static AlertLevel fromOrdinal(int ordinal)
Deprecated.Return the AlertLevel represented by specified ordinal- Parameters:
ordinal- the ordinal of theAlertLevelto return- Returns:
- the
AlertLevelwith the given ordinal
-
forSeverity
public static AlertLevel forSeverity(int severity)
Deprecated.Returns theAlertLevelfor the given severity- Parameters:
severity- the severity of theAlertLevelto return- Returns:
- the
AlertLevelwith the given severity - Throws:
IllegalArgumentException- If there is no alert level with the givenseverity
-
forName
public static AlertLevel forName(String name)
Deprecated.Returns theAlertLevelwith the given name- Parameters:
name- the name of theAlertLevelto return- Returns:
- the
AlertLevelwith the given name - Throws:
IllegalArgumentException- If there is no alert level namedname
-
getSeverity
public int getSeverity()
Deprecated.
-
getName
public String getName()
Deprecated.
-
values
public static AlertLevel[] values()
Deprecated.
-
toString
public String toString()
Deprecated.Returns a string representation for this alert level.
-
equals
public boolean equals(Object other)
Deprecated.Indicates whether some other object is "equal to" this one.
-
-