public class ExpressionConfigWrapper extends BaseThresholdDefConfigWrapper
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ExpressionConfigWrapper.MathBindingThis class provides an instance that gives access to the  Mathfunctions. | 
| Constructor and Description | 
|---|
| ExpressionConfigWrapper(Expression expression) | 
| 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 ExpressionConfigWrapper(Expression expression) throws ThresholdExpressionException
ThresholdExpressionExceptionpublic String getDatasourceExpression()
BaseThresholdDefConfigWrappergetDatasourceExpression
getDatasourceExpression in class BaseThresholdDefConfigWrapperpublic Collection<String> getRequiredDatasources()
BaseThresholdDefConfigWrappergetRequiredDatasources in class BaseThresholdDefConfigWrapperpublic double evaluate(Map<String,Double> values) throws ThresholdExpressionException
BaseThresholdDefConfigWrapperevaluate in class BaseThresholdDefConfigWrappervalues - named values to use in evaluating the expression/data sourceThresholdExpressionException - if any.Copyright © 2019. All rights reserved.