Interface BooleanExpression

All Superinterfaces:
Expression
All Known Implementing Classes:
ComparisonExpression, LogicExpression

public interface BooleanExpression extends Expression
A BooleanExpression is an expression that always produces a Boolean result.
  • Method Details

    • matches

      boolean matches(ExpressionContext message) throws ExpressionException
      Parameters:
      message - expression context
      Returns:
      true if the expression evaluates to Boolean.TRUE.
      Throws:
      ExpressionException - exception
    • asBooleanExpression

      static BooleanExpression asBooleanExpression(Expression value) throws io.atlasmap.expression.parser.ParseException
      Throws:
      io.atlasmap.expression.parser.ParseException