Package org.opennms.netmgt.config.poller
Class Monitor
- java.lang.Object
-
- org.opennms.netmgt.config.poller.Monitor
-
- All Implemented Interfaces:
Serializable
public class Monitor extends Object implements Serializable
Monitor for a service- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(Parameter parameter)
boolean
equals(Object obj)
String
getClassName()
Java class used to monitor/poll the service.List<Parameter>
getParameters()
String
getService()
Service nameint
hashCode()
boolean
removeParameter(Parameter parameter)
void
setClassName(String className)
void
setParameters(List<Parameter> parameters)
void
setService(String service)
String
toString()
-
-
-
Method Detail
-
getService
public String getService()
Service name
-
setService
public void setService(String service)
-
getClassName
public String getClassName()
Java class used to monitor/poll the service. The class must implement the org.opennms.netmgt.poller.monitors.ServiceMonitor interface.
-
setClassName
public void setClassName(String className)
-
addParameter
public void addParameter(Parameter parameter) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removeParameter
public boolean removeParameter(Parameter parameter)
-
-