public class NotMatchesStatusCodeDecideRule extends MatchesStatusCodeDecideRule
DEFAULT_LOWER_BOUND, DEFAULT_UPPER_BOUND
comment, kp
Constructor and Description |
---|
NotMatchesStatusCodeDecideRule() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(CrawlURI uri)
Returns "true" if the provided CrawlURI has a fetch status that does not
fall within this instance's specified range.
|
Integer |
getUpperBound()
Returns the upper bound on the range of acceptable status codes.
|
void |
setUpperBound(Integer statusCode)
Sets the upper bound on the range of acceptable status codes.
|
getLowerBound, setLowerBound
getDecision, innerDecide, onlyDecision, setDecision
accepts, decisionFor, getComment, getEnabled, getKeyedProperties, setComment, setEnabled
public void setUpperBound(Integer statusCode)
setUpperBound
in class MatchesStatusCodeDecideRule
statusCode
- Status codepublic Integer getUpperBound()
getUpperBound
in class MatchesStatusCodeDecideRule
protected boolean evaluate(CrawlURI uri)
evaluate
in class MatchesStatusCodeDecideRule
uri
- The URI to be evaluatedCopyright © 2003–2021 Internet Archive. All rights reserved.