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