com.gemstone.gemfire.management
package insteadpublic class AlertLevel extends Object implements Serializable
Alert
level.Modifier and Type | Field and Description |
---|---|
static AlertLevel |
ERROR
Deprecated.
|
static AlertLevel |
OFF
Deprecated.
|
int |
ordinal
Deprecated.
int used as ordinal to represent this AlertLevel
|
static AlertLevel |
SEVERE
Deprecated.
|
static AlertLevel |
WARNING
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Deprecated.
Indicates whether some other object is "equal to" this one.
|
static AlertLevel |
forName(String name)
Deprecated.
Returns the
AlertLevel with the given name |
static AlertLevel |
forSeverity(int severity)
Deprecated.
Returns the
AlertLevel for the given severity |
static AlertLevel |
fromOrdinal(int ordinal)
Deprecated.
Return the AlertLevel represented by specified ordinal
|
String |
getName()
Deprecated.
|
int |
getSeverity()
Deprecated.
|
int |
hashCode()
Deprecated.
Returns a hash code for the object.
|
String |
toString()
Deprecated.
Returns a string representation for this alert level.
|
static AlertLevel[] |
values()
Deprecated.
|
public static final AlertLevel WARNING
public static final AlertLevel ERROR
public static final AlertLevel SEVERE
public static final AlertLevel OFF
public final int ordinal
public static AlertLevel fromOrdinal(int ordinal)
public static AlertLevel forSeverity(int severity)
AlertLevel
for the given severityIllegalArgumentException
- If there is no alert level with the given
severity
public static AlertLevel forName(String name)
AlertLevel
with the given nameIllegalArgumentException
- If there is no alert level named name
public int getSeverity()
public String getName()
public static AlertLevel[] values()
public String toString()
public boolean equals(Object other)
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.