public interface ExpressionEvaluator
expression
returning a boolean value.Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(ExpressionEvaluationContext expressionContext,
String expression)
Evaluates a given
expression returning a boolean value. |
boolean evaluate(ExpressionEvaluationContext expressionContext, String expression)
expression
returning a boolean value.expressionContext
- The context which can be used for evaluation of the expression.expression
- The expression resulting in a boolean (must not be null
).IllegalArgumentException
- In case of an invalid expression
.NullPointerException
- In case of a null
expression.Copyright © 2017. All rights reserved.