Interface ExpressionValueSyntaxValidator.ExpressionChecker

Enclosing class:
ExpressionValueSyntaxValidator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ExpressionValueSyntaxValidator.ExpressionChecker
Interface for checking the syntax of an expression to see if it's valid.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Validates the given expression value.
  • Method Details

    • checkExpression

      boolean checkExpression(ExpressionValue value) throws Exception
      Validates the given expression value.
      Parameters:
      value - the expression value to validate
      Returns:
      true if the expression is valid, false otherwise
      Throws:
      Exception - if an error occurs during validation. An exception indicates the expression is invalid.