Interface TypeAwareExpressionEvaluator
- All Superinterfaces:
ExpressionEvaluator
Evaluate an expression.
-
Field Summary
Fields inherited from interface org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator
ROLE -
Method Summary
Methods inherited from interface org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator
alignToBaseDirectory, evaluate
-
Method Details
-
evaluate
Evaluate an expression. The optional type provided to this method is a hint (not a requirement) for the evaluator to resolve the expression to a compatible value. The evaluator is not expected to perform any conversion but rather filter out incompatible values from its result.- Parameters:
expression- the expressiontype- The expected type of expression result, may benull.- Returns:
- the value of the expression
- Throws:
ExpressionEvaluationException- in case of an error.
-