public class MatchesRegexDecideRule extends PredicatedDecideRule
comment, kp
Constructor and Description |
---|
MatchesRegexDecideRule()
Usual constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(CrawlURI uri)
Evaluate whether given object's string version
matches configured regex
|
Pattern |
getRegex() |
protected String |
getString(CrawlURI uri) |
void |
setRegex(Pattern regex) |
getDecision, innerDecide, setDecision
accepts, decisionFor, getComment, getEnabled, getKeyedProperties, onlyDecision, setComment, setEnabled
public Pattern getRegex()
public void setRegex(Pattern regex)
protected boolean evaluate(CrawlURI uri)
evaluate
in class PredicatedDecideRule
object
- Copyright © 2003-2014 Internet Archive. All Rights Reserved.