public class ThresholdConfigWrapper extends BaseThresholdDefConfigWrapper
ThresholdConfigWrapper class.
| Constructor and Description |
|---|
ThresholdConfigWrapper(Threshold threshold)
Constructor for ThresholdConfigWrapper.
|
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(Map<String,Double> values)
Evaluate the threshold expression/datasource in terms of the named values supplied, and return that value
|
String |
getDatasourceExpression()
getDatasourceExpression
|
Collection<String> |
getRequiredDatasources()
Returns the names of the datasources required to evaluate this threshold
|
equals, getBasethresholddef, getConfigWrapper, getDsLabel, getDsType, getFilterDatasources, getRearm, getRearmedUEI, getTrigger, getTriggeredUEI, getType, getValue, hashCode, hasRearm, hasTrigger, hasValue, mergepublic String getDatasourceExpression()
getDatasourceExpression
getDatasourceExpression in class BaseThresholdDefConfigWrapperpublic Collection<String> getRequiredDatasources()
getRequiredDatasources in class BaseThresholdDefConfigWrapperpublic double evaluate(Map<String,Double> values) throws ThresholdExpressionException
evaluate in class BaseThresholdDefConfigWrappervalues - named values to use in evaluating the expression/data sourceThresholdExpressionException - if any.Copyright © 2020. All rights reserved.