public class IdenticalDigestDecideRule extends PredicatedDecideRule
comment, kp
Constructor and Description |
---|
IdenticalDigestDecideRule()
Usual constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(CrawlURI curi)
Evaluate whether given CrawlURI's content-digest exactly
matches that of preceding fetch.
|
static boolean |
hasIdenticalDigest(CrawlURI curi)
Utility method for testing if a CrawlURI's last two history
entries (one being the most recent fetch) have identical
content-digest information.
|
getDecision, innerDecide, setDecision
accepts, decisionFor, getComment, getEnabled, getKeyedProperties, onlyDecision, setComment, setEnabled
protected boolean evaluate(CrawlURI curi)
evaluate
in class PredicatedDecideRule
object
- should be CrawlURIpublic static boolean hasIdenticalDigest(CrawlURI curi)
curi
- CrawlURI to testCopyright © 2003-2014 Internet Archive. All Rights Reserved.