Interface ExpressionEvaluator
-
- All Known Subinterfaces:
TypeAwareExpressionEvaluator
- All Known Implementing Classes:
DefaultExpressionEvaluator
public interface ExpressionEvaluatorEvaluate an expression.- Author:
- Brett Porter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FilealignToBaseDirectory(File file)Align a given path to the base directory that can be evaluated by this expression evaluator, if known.Objectevaluate(String expression)Evaluate an expression.
-
-
-
Field Detail
-
ROLE
static final String ROLE
-
-
Method Detail
-
evaluate
Object evaluate(String expression) throws ExpressionEvaluationException
Evaluate an expression.- Parameters:
expression- the expression- Returns:
- the value of the expression
- Throws:
ExpressionEvaluationException- in case of an error.
-
-