public abstract class LogicExpression extends BinaryExpression implements BooleanExpression
left, right
cache
Constructor and Description |
---|
LogicExpression(BooleanExpression left,
BooleanExpression right) |
Modifier and Type | Method and Description |
---|---|
static BooleanExpression |
createAND(BooleanExpression lvalue,
BooleanExpression rvalue) |
static BooleanExpression |
createOR(BooleanExpression lvalue,
BooleanExpression rvalue) |
abstract Object |
evaluate(ExpressionContext expressionContext)
Execute the expression against the given context.
|
boolean |
matches(ExpressionContext message) |
equals, getExpressionSymbol, getLeft, getRight, hashCode, setLeft, setRight, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asBooleanExpression
clearCache, parse
public LogicExpression(BooleanExpression left, BooleanExpression right)
left
- right
- public static BooleanExpression createOR(BooleanExpression lvalue, BooleanExpression rvalue)
public static BooleanExpression createAND(BooleanExpression lvalue, BooleanExpression rvalue)
public abstract Object evaluate(ExpressionContext expressionContext) throws ExpressionException
Expression
evaluate
in interface Expression
ExpressionException
public boolean matches(ExpressionContext message) throws ExpressionException
matches
in interface BooleanExpression
ExpressionException
Copyright © 2020 JBoss by Red Hat. All rights reserved.