Class NotEvaluator
java.lang.Object
org.apache.synapse.commons.evaluators.NotEvaluator
- All Implemented Interfaces:
Evaluator
This encapsulates a boolean expression. This acts as not boolean operator.
It executes the boolean expression inside and return the NOT of this expression.
<not>
one evaluator
</not>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluate(EvaluatorContext context) Evaluate a boolean expressiongetName()Name of the evaluatorvoidsetEvaluator(Evaluator evaluator)
-
Constructor Details
-
NotEvaluator
public NotEvaluator()
-
-
Method Details
-
evaluate
Description copied from interface:EvaluatorEvaluate a boolean expression- Specified by:
evaluatein interfaceEvaluator- Parameters:
context- hold the information about the HTTP request- Returns:
- result of evaluating the boolean expression
- Throws:
EvaluatorException- if an error occurs while evaluating the HTTP request
-
getName
Description copied from interface:EvaluatorName of the evaluator -
setEvaluator
-
getEvaluator
-