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