Interface ExpressionEvaluator
-
- All Known Subinterfaces:
TypeAwareExpressionEvaluator
- All Known Implementing Classes:
DefaultExpressionEvaluator
public interface ExpressionEvaluator
Evaluate an expression.- Author:
- Brett Porter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description File
alignToBaseDirectory(File file)
Align a given path to the base directory that can be evaluated by this expression evaluator, if known.Object
evaluate(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.
-
-