Package org.archive.modules.deciderules
Class ContentLengthDecideRule
java.lang.Object
org.archive.modules.deciderules.DecideRule
org.archive.modules.deciderules.ContentLengthDecideRule
- All Implemented Interfaces:
Serializable
,org.archive.spring.HasKeyedProperties
public class ContentLengthDecideRule extends DecideRule
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class org.archive.modules.deciderules.DecideRule
comment, kp
-
Constructor Summary
Constructors Constructor Description ContentLengthDecideRule()
Usual constructor. -
Method Summary
Modifier and Type Method Description long
getContentLengthThreshold()
protected DecideResult
innerDecide(CrawlURI uri)
void
setContentLengthThreshold(long threshold)
Methods inherited from class org.archive.modules.deciderules.DecideRule
accepts, decisionFor, getComment, getEnabled, getKeyedProperties, onlyDecision, setComment, setEnabled
-
Constructor Details
-
ContentLengthDecideRule
public ContentLengthDecideRule()Usual constructor.
-
-
Method Details
-
getContentLengthThreshold
public long getContentLengthThreshold() -
setContentLengthThreshold
public void setContentLengthThreshold(long threshold) -
innerDecide
- Specified by:
innerDecide
in classDecideRule
-