Class JexlEvaluateFunctions
- java.lang.Object
-
- org.opennms.netmgt.measurements.impl.JexlEvaluateFunctions
-
public class JexlEvaluateFunctions extends java.lang.Object
Functions to use JexlEngine to evaluate a given formula string against the current context- Author:
- cgallen
-
-
Constructor Summary
Constructors Constructor Description JexlEvaluateFunctions(org.apache.commons.jexl2.JexlContext context, org.apache.commons.jexl2.JexlEngine jexl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
evaluate(java.lang.String formula)
Uses the JexlEngine to evaluate a string constant as a Jexl expression
-