public class OrEvaluator extends Object implements Evaluator
<or> two or more evaluators </or>
Constructor and Description |
---|
OrEvaluator() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(EvaluatorContext context)
Evaluate a boolean expression
|
Evaluator[] |
getEvaluators() |
String |
getName()
Name of the evaluator
|
void |
setEvaluators(Evaluator[] evaluators) |
public boolean evaluate(EvaluatorContext context) throws EvaluatorException
Evaluator
evaluate
in interface Evaluator
context
- hold the information about the HTTP requestEvaluatorException
- if an error occurs while evaluating
the HTTP requestpublic void setEvaluators(Evaluator[] evaluators)
public Evaluator[] getEvaluators()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.