Class Service
- java.lang.Object
-
- org.opennms.netmgt.config.threshd.Service
-
- All Implemented Interfaces:
java.io.Serializable
public class Service extends java.lang.Object implements java.io.Serializable
Service for which thresholding is to be performed 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(Parameter parameter)
boolean
equals(java.lang.Object obj)
java.lang.Long
getInterval()
java.lang.String
getName()
java.util.List<Parameter>
getParameters()
java.util.Optional<ServiceStatus>
getStatus()
java.lang.Boolean
getUserDefined()
int
hashCode()
boolean
removeParameter(Parameter parameter)
void
setInterval(java.lang.Long interval)
void
setName(java.lang.String name)
void
setParameters(java.util.List<Parameter> parameters)
void
setStatus(ServiceStatus status)
void
setUserDefined(java.lang.Boolean userDefined)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getInterval
public java.lang.Long getInterval()
-
setInterval
public void setInterval(java.lang.Long interval)
-
getUserDefined
public java.lang.Boolean getUserDefined()
-
setUserDefined
public void setUserDefined(java.lang.Boolean userDefined)
-
getStatus
public java.util.Optional<ServiceStatus> getStatus()
-
setStatus
public void setStatus(ServiceStatus status)
-
getParameters
public java.util.List<Parameter> getParameters()
-
setParameters
public void setParameters(java.util.List<Parameter> parameters)
-
addParameter
public void addParameter(Parameter parameter)
-
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
-
-