Constructor and Description |
---|
MatchEvaluator() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(EvaluatorContext context)
Evaluate a boolean expression
|
String |
getName()
Name of the evaluator
|
Pattern |
getRegex() |
SourceTextRetriever |
getTextRetriever() |
void |
setRegex(Pattern regex) |
void |
setTextRetriever(SourceTextRetriever textRetriever) |
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 Pattern getRegex()
public void setRegex(Pattern regex)
public SourceTextRetriever getTextRetriever()
public void setTextRetriever(SourceTextRetriever textRetriever)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.