Class MonitoringLevel
java.lang.Object
com.sun.enterprise.admin.monitor.registry.MonitoringLevel
Provides enumerated constants related to various levels
at which monitoring could be set
- Author:
- Shreedhar Ganapathyinvalid input: '<'mailto:shreedhar.ganapathy@sun.com>, Kedar Mhaswade
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MonitoringLevelstatic final MonitoringLevelstatic final MonitoringLevel -
Method Summary
-
Field Details
-
OFF
-
LOW
-
HIGH
-
-
Method Details
-
toString
-
instance
Returns an instance of MonitoringLevel for the given String. The given String has to correspond to one of the public fields declared in this class.- Parameters:
name- String representing the MonitoringLevel- Returns:
- MonitoringLevel corresponding to given parameter, or null if the parameter is null or does not correspond to any of the Monitoring Levels supported. For $Revision: 1.2 $ of this class, "off", "high" and "low" are supported strings. The comparison is done case insensitively.
-
equals
Checks two MonitoringLevel objects for equality.Checks that obj is a MonitoringLevel, and has the same name as this object.
-
hashCode
public int hashCode()Returns the hash code value for this object.The hash code returned is the hash code of the name of this MonitoringLevel object.
-