|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.threshd.BaseThresholdDefConfigWrapper
public abstract class BaseThresholdDefConfigWrapper
Abstract BaseThresholdDefConfigWrapper class.
| Constructor Summary | |
|---|---|
protected |
BaseThresholdDefConfigWrapper(Basethresholddef baseDef)
Constructor for BaseThresholdDefConfigWrapper. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
abstract double |
evaluate(Map<String,Double> values)
Evaluate the threshold expression/datasource in terms of the named values supplied, and return that value |
Basethresholddef |
getBasethresholddef()
getBasethresholddef |
static BaseThresholdDefConfigWrapper |
getConfigWrapper(Basethresholddef baseDef)
getConfigWrapper |
abstract String |
getDatasourceExpression()
getDatasourceExpression |
String |
getDsLabel()
getDsLabel |
String |
getDsType()
getDsType |
double |
getRearm()
getRearm |
String |
getRearmedUEI()
getRearmedUEI |
abstract Collection<String> |
getRequiredDatasources()
Returns the names of the datasources required to evaluate this threshold |
int |
getTrigger()
getTrigger |
String |
getTriggeredUEI()
getTriggeredUEI |
String |
getType()
getType |
double |
getValue()
getValue |
int |
hashCode()
|
boolean |
hasRearm()
hasRearm |
boolean |
hasTrigger()
hasTrigger |
boolean |
hasValue()
hasValue |
boolean |
identical(BaseThresholdDefConfigWrapper o)
identical |
void |
merge(BaseThresholdDefConfigWrapper threshold)
merge |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BaseThresholdDefConfigWrapper(Basethresholddef baseDef)
Constructor for BaseThresholdDefConfigWrapper.
baseDef - a Basethresholddef object.| Method Detail |
|---|
public static BaseThresholdDefConfigWrapper getConfigWrapper(Basethresholddef baseDef)
throws ThresholdExpressionException
getConfigWrapper
baseDef - a Basethresholddef object.
BaseThresholdDefConfigWrapper object.
ThresholdExpressionException - if any.public abstract String getDatasourceExpression()
getDatasourceExpression
public abstract Collection<String> getRequiredDatasources()
public abstract double evaluate(Map<String,Double> values)
throws ThresholdExpressionException
values - named values to use in evaluating the expression/data source
ThresholdExpressionException - if any.public String getDsType()
getDsType
String object.public String getDsLabel()
getDsLabel
String object.public double getRearm()
getRearm
public int getTrigger()
getTrigger
public String getType()
getType
String object.public double getValue()
getValue
public boolean hasRearm()
hasRearm
public boolean hasTrigger()
hasTrigger
public boolean hasValue()
hasValue
public String getTriggeredUEI()
getTriggeredUEI
String object.public String getRearmedUEI()
getRearmedUEI
String object.public Basethresholddef getBasethresholddef()
getBasethresholddef
Basethresholddef object.public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean identical(BaseThresholdDefConfigWrapper o)
identical
o - a BaseThresholdDefConfigWrapper object.
public void merge(BaseThresholdDefConfigWrapper threshold)
merge
threshold - a BaseThresholdDefConfigWrapper object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||