Class Service
- java.lang.Object
-
- org.opennms.netmgt.config.collectd.Service
-
- All Implemented Interfaces:
Serializable
public class Service extends Object implements Serializable
Service to be collected for addresses in this package- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Service()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(String key, String value)
void
addParameter(Parameter parameter)
boolean
equals(Object obj)
Long
getInterval()
the interval at which the service is to be collectedString
getName()
the service nameString
getParameter(String key)
List<Parameter>
getParameters()
String
getStatus()
status of the service, service is collected only if onString
getUserDefined()
marker to say if service is user defined, used specifically for UI purposesint
hashCode()
boolean
removeParameter(Parameter parameter)
void
setInterval(Long interval)
void
setName(String name)
void
setParameters(List<Parameter> parameters)
void
setStatus(String status)
void
setUserDefined(String userDefined)
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
the service name
-
setName
public void setName(String name)
-
getInterval
public Long getInterval()
the interval at which the service is to be collected
-
setInterval
public void setInterval(Long interval)
-
getUserDefined
public String getUserDefined()
marker to say if service is user defined, used specifically for UI purposes
-
setUserDefined
public void setUserDefined(String userDefined)
-
getStatus
public String getStatus()
status of the service, service is collected only if on
-
setStatus
public void setStatus(String status)
-
addParameter
public void addParameter(Parameter parameter) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removeParameter
public boolean removeParameter(Parameter parameter)
-
-