org.apache.activemq.artemis.selector.filter

## Interface BooleanExpression

- All Superinterfaces:
    Expression
  All Known Implementing Classes:
    ComparisonExpression, LogicExpression, XPathExpression, XQueryExpression

      public interface BooleanExpression
      extends Expression

  A BooleanExpression is an expression that always produces a Boolean result.
  Version:
    $Revision: 1.2 $

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `matches(Filterable message)`

    - ### Methods inherited from interface org.apache.activemq.artemis.selector.filter.Expression

      `evaluate`

- - ### Method Detail

    - #### matches

          boolean matches(Filterable message)
                   throws FilterException

      Parameters:
        `message` -
      Returns:
        true if the expression evaluates to Boolean.TRUE.
      Throws:
        `FilterException`

Copyright © 2017 The Apache Software Foundation. All rights reserved.