public class MatchesListRegexDecideRule extends PredicatedDecideRule
The list of regular expressions can be considered logically AND or OR.
MatchesRegexDecideRule
,
Serialized Formcomment, kp
Constructor and Description |
---|
MatchesListRegexDecideRule()
Usual constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(CrawlURI uri)
Evaluate whether given object's string version
matches configured regexes
|
boolean |
getListLogicalOr() |
List<Pattern> |
getRegexList() |
void |
setListLogicalOr(boolean listLogicalOr) |
void |
setRegexList(List<Pattern> patterns) |
getDecision, innerDecide, setDecision
accepts, decisionFor, getComment, getEnabled, getKeyedProperties, onlyDecision, setComment, setEnabled
public MatchesListRegexDecideRule()
public boolean getListLogicalOr()
public void setListLogicalOr(boolean listLogicalOr)
protected boolean evaluate(CrawlURI uri)
evaluate
in class PredicatedDecideRule
Copyright © 2003-2014 Internet Archive. All Rights Reserved.