Class Group
- java.lang.Object
-
- org.opennms.netmgt.config.threshd.Group
-
- All Implemented Interfaces:
Serializable
public class Group extends Object implements Serializable
Grouping of related threshold definitions- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Group()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExpression(Expression expression)
void
addThreshold(Threshold threshold)
boolean
equals(Object obj)
List<Expression>
getExpressions()
String
getName()
String
getRrdRepository()
List<Threshold>
getThresholds()
Collection<Basethresholddef>
getThresholdsAndExpressions()
int
hashCode()
boolean
removeExpression(Expression expression)
boolean
removeThreshold(Threshold threshold)
void
setExpressions(List<Expression> expressions)
void
setName(String name)
void
setRrdRepository(String rrdRepository)
void
setThresholds(List<Threshold> thresholds)
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getRrdRepository
public String getRrdRepository()
-
setRrdRepository
public void setRrdRepository(String rrdRepository)
-
addThreshold
public void addThreshold(Threshold threshold)
-
removeThreshold
public boolean removeThreshold(Threshold threshold)
-
getExpressions
public List<Expression> getExpressions()
-
setExpressions
public void setExpressions(List<Expression> expressions)
-
addExpression
public void addExpression(Expression expression)
-
removeExpression
public boolean removeExpression(Expression expression)
-
getThresholdsAndExpressions
public Collection<Basethresholddef> getThresholdsAndExpressions()
-
-