Package org.opennms.netmgt.config.poller
Class Parameter
- java.lang.Object
-
- org.opennms.netmgt.config.poller.Parameter
-
- All Implemented Interfaces:
java.io.Serializable
public class Parameter extends java.lang.Object implements java.io.Serializable
Parameters to be used for polling this service. E.g.: for polling HTTP, the URL to hit is configurable via a parameter. Parameters are specific to the service monitor.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.Object
getAnyObject()
java.lang.String
getKey()
java.lang.String
getValue()
int
hashCode()
void
setAnyObject(java.lang.Object anyObject)
void
setKey(java.lang.String key)
void
setValue(java.lang.String value)
java.lang.String
toString()
-
-
-
Method Detail
-
getKey
public java.lang.String getKey()
-
setKey
public void setKey(java.lang.String key)
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
getAnyObject
public java.lang.Object getAnyObject()
-
setAnyObject
public void setAnyObject(java.lang.Object anyObject)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-