public interface ExpressionEvaluator
| Modifier and Type | Method and Description |
|---|---|
ExpressionContext |
createContext()
Creates and returns the expression context in which you can set variables which will be used during evaluation.
|
String |
displayVariable(String variable)
Returns given variable in the syntax of the expression language (like $product) for display purposes.
|
Object |
evaluate(String expression,
ExpressionContext context)
Evaluates given expression using given expression context.
|
ExpressionContext createContext()
Object evaluate(String expression, ExpressionContext context) throws ExpressionEvaluationException
expression - the expression to evaluatecontext - the expression context to be used during evaluationExpressionEvaluationExceptionCopyright © 2017 SAP SE. All Rights Reserved.