Class Group
- java.lang.Object
-
- org.opennms.netmgt.config.threshd.Group
-
- All Implemented Interfaces:
java.io.Serializable
public class Group extends java.lang.Object implements java.io.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(java.lang.Object obj)
java.util.List<Expression>
getExpressions()
java.lang.String
getName()
java.lang.String
getRrdRepository()
java.util.List<Threshold>
getThresholds()
java.util.Collection<Basethresholddef>
getThresholdsAndExpressions()
int
hashCode()
boolean
removeExpression(Expression expression)
boolean
removeThreshold(Threshold threshold)
void
setExpressions(java.util.List<Expression> expressions)
void
setName(java.lang.String name)
void
setRrdRepository(java.lang.String rrdRepository)
void
setThresholds(java.util.List<Threshold> thresholds)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getRrdRepository
public java.lang.String getRrdRepository()
-
setRrdRepository
public void setRrdRepository(java.lang.String rrdRepository)
-
getThresholds
public java.util.List<Threshold> getThresholds()
-
setThresholds
public void setThresholds(java.util.List<Threshold> thresholds)
-
addThreshold
public void addThreshold(Threshold threshold)
-
removeThreshold
public boolean removeThreshold(Threshold threshold)
-
getExpressions
public java.util.List<Expression> getExpressions()
-
setExpressions
public void setExpressions(java.util.List<Expression> expressions)
-
addExpression
public void addExpression(Expression expression)
-
removeExpression
public boolean removeExpression(Expression expression)
-
getThresholdsAndExpressions
public java.util.Collection<Basethresholddef> getThresholdsAndExpressions()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-