public class TooManyHopsDecideRule extends PredicatedDecideRule
comment, kp
Constructor and Description |
---|
TooManyHopsDecideRule()
Usual constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(CrawlURI uri)
Evaluate whether given object is over the threshold number of
hops.
|
int |
getMaxHops() |
void |
setMaxHops(int maxHops) |
getDecision, innerDecide, setDecision
accepts, decisionFor, getComment, getEnabled, getKeyedProperties, onlyDecision, setComment, setEnabled
public int getMaxHops()
public void setMaxHops(int maxHops)
protected boolean evaluate(CrawlURI uri)
evaluate
in class PredicatedDecideRule
object
- Copyright © 2003-2014 Internet Archive. All Rights Reserved.