Class FetchStatusDecideRule

All Implemented Interfaces:
Serializable, org.archive.spring.HasKeyedProperties

public class FetchStatusDecideRule
extends PredicatedDecideRule
Rule applies the configured decision for any URI which has a fetch status equal to the 'target-status' setting.
Author:
gojomo
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • FetchStatusDecideRule

      public FetchStatusDecideRule()
      Usual constructor.
  • Method Details

    • getStatusCodes

      public List<Integer> getStatusCodes()
    • setStatusCodes

      public void setStatusCodes​(List<Integer> codes)
    • evaluate

      protected boolean evaluate​(CrawlURI uri)
      Evaluate whether given object is equal to the configured status
      Specified by:
      evaluate in class PredicatedDecideRule