|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.Attribute org.archive.crawler.settings.Type org.archive.crawler.settings.ComplexType org.archive.crawler.settings.ModuleType org.archive.crawler.deciderules.DecideRule org.archive.crawler.deciderules.ConfiguredDecideRule org.archive.crawler.deciderules.PredicatedDecideRule org.archive.crawler.deciderules.FetchStatusDecideRule
public class FetchStatusDecideRule
Rule applies the configured decision for any URI which has a fetch status equal to the 'target-status' setting.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.archive.crawler.settings.ComplexType |
---|
ComplexType.MBeanAttributeInfoIterator |
Field Summary | |
---|---|
(package private) static java.lang.Integer |
DEFAULT_TARGET_STATUS
Default access so available to test code. |
Fields inherited from class org.archive.crawler.deciderules.ConfiguredDecideRule |
---|
ALLOWED_TYPES, ATTR_DECISION |
Fields inherited from class org.archive.crawler.deciderules.DecideRule |
---|
ACCEPT, PASS, REJECT |
Fields inherited from class org.archive.crawler.settings.ComplexType |
---|
definition, definitionMap |
Constructor Summary | |
---|---|
FetchStatusDecideRule(java.lang.String name)
Usual constructor. |
Method Summary | |
---|---|
protected boolean |
evaluate(java.lang.Object object)
Evaluate whether given object is over the threshold number of hops. |
Methods inherited from class org.archive.crawler.deciderules.PredicatedDecideRule |
---|
decisionFor |
Methods inherited from class org.archive.crawler.deciderules.ConfiguredDecideRule |
---|
singlePossibleNonPassDecision |
Methods inherited from class org.archive.crawler.deciderules.DecideRule |
---|
getController, kickUpdate |
Methods inherited from class org.archive.crawler.settings.ModuleType |
---|
addElement, listUsedFiles |
Methods inherited from class org.archive.crawler.settings.Type |
---|
addConstraint, equals, getConstraints, getLegalValueType, isExpertSetting, isOverrideable, isTransient, setExpertSetting, setLegalValueType, setOverrideable, setTransient |
Methods inherited from class javax.management.Attribute |
---|
getName, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
static final java.lang.Integer DEFAULT_TARGET_STATUS
Constructor Detail |
---|
public FetchStatusDecideRule(java.lang.String name)
name
- Name of this DecideRule.Method Detail |
---|
protected boolean evaluate(java.lang.Object object)
evaluate
in class PredicatedDecideRule
object
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |