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 boolean
evaluate(EvaluatorContext context)
Evaluate a boolean expressionString
getName()
Name of the evaluatorSourceTextRetriever
getTextRetriever()
String
getValue()
void
setTextRetriever(SourceTextRetriever textRetriever)
void
setValue(String value)
-
-
-
Method Detail
-
evaluate
public boolean evaluate(EvaluatorContext context) throws EvaluatorException
Description copied from interface:Evaluator
Evaluate a boolean expression- Specified by:
evaluate
in 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()
-
-