Class Collector
- java.lang.Object
-
- org.opennms.netmgt.config.collectd.Collector
-
- All Implemented Interfaces:
java.io.Serializable
public class Collector extends java.lang.Object implements java.io.Serializable
Collector 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(java.lang.Object obj)
java.lang.String
getClassName()
The class used to perform data collection via the servicejava.util.List<Parameter>
getParameters()
java.lang.String
getService()
The service nameint
hashCode()
boolean
removeParameter(Parameter parameter)
void
setClassName(java.lang.String className)
void
setParameters(java.util.List<Parameter> parameters)
void
setService(java.lang.String service)
java.lang.String
toString()
-
-
-
Method Detail
-
getService
public java.lang.String getService()
The service name
-
setService
public void setService(java.lang.String service)
-
getClassName
public java.lang.String getClassName()
The class used to perform data collection via the service
-
setClassName
public void setClassName(java.lang.String className)
-
getParameters
public java.util.List<Parameter> getParameters()
-
setParameters
public void setParameters(java.util.List<Parameter> parameters)
-
addParameter
public void addParameter(Parameter parameter) throws java.lang.IndexOutOfBoundsException
- Throws:
java.lang.IndexOutOfBoundsException
-
removeParameter
public boolean removeParameter(Parameter parameter)
-
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
-
-