Class EqualEvaluator
- java.lang.Object
-
- org.apache.synapse.commons.evaluators.EqualEvaluator
-
-
Constructor Summary
Constructors Constructor Description EqualEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate(EvaluatorContext context)Evaluate a boolean expressionStringgetName()Name of the evaluatorSourceTextRetrievergetTextRetriever()StringgetValue()voidsetTextRetriever(SourceTextRetriever textRetriever)voidsetValue(String value)
-
-
-
Method Detail
-
evaluate
public boolean evaluate(EvaluatorContext context) throws EvaluatorException
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
-
setValue
public void setValue(String value)
-
setTextRetriever
public void setTextRetriever(SourceTextRetriever textRetriever)
-
getValue
public String getValue()
-
getTextRetriever
public SourceTextRetriever getTextRetriever()
-
-