Interface ExpressionEvaluator

All Known Subinterfaces:
TypeAwareExpressionEvaluator
All Known Implementing Classes:
DefaultExpressionEvaluator

public interface ExpressionEvaluator
Evaluate an expression.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Align a given path to the base directory that can be evaluated by this expression evaluator, if known.
    evaluate(String expression)
    Evaluate an expression.
  • Field Details

    • ROLE

      static final String ROLE
  • Method Details

    • 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.
    • alignToBaseDirectory

      File alignToBaseDirectory(File file)
      Align a given path to the base directory that can be evaluated by this expression evaluator, if known.
      Parameters:
      file - the file
      Returns:
      the aligned file