public class ExpressionConfigWrapper extends BaseThresholdDefConfigWrapper
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ExpressionConfigWrapper.ExpressionValue  | 
static class  | 
ExpressionConfigWrapper.MathBinding
This class provides an instance that gives access to the  
Math functions. | 
| Constructor and Description | 
|---|
ExpressionConfigWrapper(Expression expression)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
accept(ThresholdDefVisitor thresholdDefVisitor)  | 
double | 
evaluate(String expression,
        Map<String,Double> values)
Evaluate given an already interpolated expression that contains no mate data. 
 | 
String | 
getDatasourceExpression()
getDatasourceExpression 
 | 
Collection<String> | 
getRequiredDatasources()
Returns the names of the datasources required to evaluate this threshold 
 | 
ExpressionConfigWrapper.ExpressionValue | 
interpolateAndEvaluate(Map<String,Double> values,
                      Scope scope)
Evaluate with un-interpolated expression that may contain mate data, meaning we need to interpolate it first. 
 | 
equals, getBasethresholddef, getConfigWrapper, getDsLabel, getDsType, getFilterDatasources, getRearm, getRearmedUEI, getTrigger, getTriggeredUEI, getType, getValue, hashCode, hasRearm, hasTrigger, hasValue, mergepublic ExpressionConfigWrapper(Expression expression) throws ThresholdExpressionException
ThresholdExpressionExceptionpublic String getDatasourceExpression()
BaseThresholdDefConfigWrappergetDatasourceExpression
getDatasourceExpression in class BaseThresholdDefConfigWrapperpublic Collection<String> getRequiredDatasources()
BaseThresholdDefConfigWrappergetRequiredDatasources in class BaseThresholdDefConfigWrapperpublic double evaluate(String expression, Map<String,Double> values) throws ThresholdExpressionException
ThresholdExpressionExceptionpublic ExpressionConfigWrapper.ExpressionValue interpolateAndEvaluate(Map<String,Double> values, Scope scope) throws ThresholdExpressionException
ThresholdExpressionExceptionpublic void accept(ThresholdDefVisitor thresholdDefVisitor)
accept in class BaseThresholdDefConfigWrapperCopyright © 2021. All rights reserved.