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
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(MessageEvaluationContext message) Returns the symbol that represents this binary expression.boolean
matches
(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:
evaluate
in interfaceExpression
- Specified by:
evaluate
in classLogicExpression
- Returns:
- the value of this expression
- Throws:
jakarta.jms.JMSException
-
matches
- Specified by:
matches
in interfaceBooleanExpression
- Specified by:
matches
in classLogicExpression
- Returns:
- true if the expression evaluates to Boolean.TRUE.
- Throws:
jakarta.jms.JMSException
-
getExpressionSymbol
Description copied from class:LogicExpression
Returns the symbol that represents this binary expression. For example, addition is represented by "+"- Specified by:
getExpressionSymbol
in classLogicExpression
- Returns:
-