public interface Expression
This simple interface provides access to the underlying expression through
getExpression().
An expression is different than a script - it is simply a reference of an expression.
| Modifier and Type | Method and Description |
|---|---|
String |
dump()
Returns the JEXL expression by reconstructing it from the parsed tree.
|
Object |
evaluate(JexlContext context)
Evaluates the expression with the variables contained in the
supplied
JexlContext. |
String |
getExpression()
Returns the JEXL expression this Expression was created with.
|
Object evaluate(JexlContext context)
JexlContext.context - A JexlContext containing variables.JexlException - on any errorString getExpression()
String dump()
Copyright © 2021 Internet2. All rights reserved.