Package org.apache.activemq.filter
Class LogicExpression.ORExpression
java.lang.Object
org.apache.activemq.filter.LogicExpression
org.apache.activemq.filter.LogicExpression.ORExpression
- All Implemented Interfaces:
BooleanExpression,Expression
- Enclosing class:
- LogicExpression
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.activemq.filter.LogicExpression
LogicExpression.ORExpression -
Field Summary
Fields inherited from class org.apache.activemq.filter.LogicExpression
expressions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(MessageEvaluationContext message) Returns the symbol that represents this binary expression.booleanmatches(MessageEvaluationContext message) Methods inherited from class org.apache.activemq.filter.LogicExpression
addExpression, createAND, createOR, getLeft, getRight, toString
-
Constructor Details
-
ORExpression
-
-
Method Details
-
evaluate
- Specified by:
evaluatein interfaceExpression- Specified by:
evaluatein classLogicExpression- Returns:
- the value of this expression
- Throws:
jakarta.jms.JMSException
-
matches
- Specified by:
matchesin interfaceBooleanExpression- Specified by:
matchesin classLogicExpression- Returns:
- true if the expression evaluates to Boolean.TRUE.
- Throws:
jakarta.jms.JMSException
-
getExpressionSymbol
Description copied from class:LogicExpressionReturns the symbol that represents this binary expression. For example, addition is represented by "+"- Specified by:
getExpressionSymbolin classLogicExpression- Returns:
-