Class Category
- java.lang.Object
-
- org.opennms.netmgt.config.categories.Category
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RTCCategory
public class Category extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addService(String service)
void
clearServices()
boolean
equals(Object obj)
Optional<String>
getComment()
String
getLabel()
Double
getNormalThreshold()
String
getRule()
List<String>
getServices()
Double
getWarningThreshold()
int
hashCode()
boolean
isValid()
void
setComment(String comment)
void
setLabel(String label)
void
setNormalThreshold(Double normal)
void
setRule(String rule)
void
setServices(List<String> services)
void
setWarningThreshold(Double warning)
-
-
-
Method Detail
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
setComment
public void setComment(String comment)
-
getNormalThreshold
public Double getNormalThreshold()
-
setNormalThreshold
public void setNormalThreshold(Double normal)
-
getWarningThreshold
public Double getWarningThreshold()
-
setWarningThreshold
public void setWarningThreshold(Double warning)
-
addService
public void addService(String service)
-
clearServices
public void clearServices()
-
getRule
public String getRule()
-
setRule
public void setRule(String rule)
-
isValid
public boolean isValid()
-
-