Package scriptella.expression
Class JexlExpression
java.lang.Object
scriptella.expression.Expression
scriptella.expression.JexlExpression
Represents JEXL expression.
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Nested Class Summary
Nested classes/interfaces inherited from class scriptella.expression.Expression
Expression.EvaluationException, Expression.ParseException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(ParametersCallback callback) static org.apache.commons.jexl2.JexlEngineCreates a preconfigured JexlEngine.Methods inherited from class scriptella.expression.Expression
compile, getExpression
-
Constructor Details
-
JexlExpression
- Throws:
Expression.ParseException
-
-
Method Details
-
evaluate
- Specified by:
evaluatein classExpression- Throws:
Expression.EvaluationException
-
newJexlEngine
public static org.apache.commons.jexl2.JexlEngine newJexlEngine()Creates a preconfigured JexlEngine.The instance is configured to use function namespaces from
EtlVariable.- Returns:
- instance of JexlEngine.
-