Class AndEvaluator
java.lang.Object
org.apache.synapse.commons.evaluators.AndEvaluator
- All Implemented Interfaces:
Evaluator
This encapsulates two or more boolean conditions. This acts as the "and"
boolean operator. This evaluates all the boolean expressions and return
the Boolean AND of those expressions.
<and>
two or more evaluators
<and>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluate(EvaluatorContext context) Evaluate a boolean expressiongetName()Name of the evaluatorvoidsetEvaluators(Evaluator[] evaluators)
-
Constructor Details
-
AndEvaluator
public AndEvaluator()
-
-
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 -
setEvaluators
-
getEvaluators
-