|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.admin.monitor.registry.MonitoringLevel
public class MonitoringLevel
Provides enumerated constants related to various levels at which monitoring could be set
| Field Summary | |
|---|---|
static MonitoringLevel |
HIGH
|
static MonitoringLevel |
LOW
|
static MonitoringLevel |
OFF
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Checks two MonitoringLevel objects for equality. |
int |
hashCode()
Returns the hash code value for this object. |
static MonitoringLevel |
instance(String name)
Returns an instance of MonitoringLevel for the given String. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final MonitoringLevel OFF
public static final MonitoringLevel LOW
public static final MonitoringLevel HIGH
| Method Detail |
|---|
public String toString()
toString in class Objectpublic static MonitoringLevel instance(String name)
name - String representing the MonitoringLevel
public boolean equals(Object obj)
Checks that obj is a MonitoringLevel, and has the same name as this object.
equals in class Objectobj - the object we are testing for equality with this object.
public int hashCode()
The hash code returned is the hash code of the name of this MonitoringLevel object.
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||