public class Category extends Object implements Serializable
Constructor and Description |
---|
Category() |
Category(String label,
String comment,
Double normalThreshold,
Double warningThreshold,
String rule,
String... services) |
Modifier and Type | Method and 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) |
public String getLabel()
public void setLabel(String label)
public void setComment(String comment)
public Double getNormalThreshold()
public void setNormalThreshold(Double normal)
public Double getWarningThreshold()
public void setWarningThreshold(Double warning)
public void addService(String service)
public void clearServices()
public String getRule()
public void setRule(String rule)
public boolean isValid()
Copyright © 2018. All rights reserved.