Package org.apache.geode.admin
Class AlertLevel
java.lang.Object
org.apache.geode.admin.AlertLevel
- All Implemented Interfaces:
Serializable
Deprecated.
Type-safe enumeration for
Alert level.- Since:
- GemFire 3.5
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AlertLevelDeprecated.static final AlertLevelDeprecated.final intDeprecated.static final AlertLevelDeprecated.static final AlertLevelDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Indicates whether some other object is "equal to" this one.static AlertLevelDeprecated.Returns theAlertLevelwith the given namestatic AlertLevelforSeverity(int severity) Deprecated.Returns theAlertLevelfor the given severitystatic AlertLevelfromOrdinal(int ordinal) Deprecated.Return the AlertLevel represented by specified ordinalgetName()Deprecated.intDeprecated.inthashCode()Deprecated.Returns a hash code for the object.toString()Deprecated.Returns a string representation for this alert level.static AlertLevel[]values()Deprecated.
-
Field Details
-
WARNING
Deprecated. -
ERROR
Deprecated. -
SEVERE
Deprecated. -
OFF
Deprecated. -
ordinal
public final int ordinalDeprecated.
-
-
Method Details
-
fromOrdinal
Deprecated.Return the AlertLevel represented by specified ordinal- Parameters:
ordinal- the ordinal of theAlertLevelto return- Returns:
- the
AlertLevelwith the given ordinal
-
forSeverity
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
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
Deprecated. -
values
Deprecated. -
toString
Deprecated.Returns a string representation for this alert level. -
equals
Deprecated.Indicates whether some other object is "equal to" this one. -
hashCode
public int hashCode()Deprecated.Returns a hash code for the object. This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable.
-
managementpackage instead