Enum Class CrawlStatus

java.lang.Object
java.lang.Enum<CrawlStatus>
org.archive.crawler.framework.CrawlStatus
All Implemented Interfaces:
Serializable, Comparable<CrawlStatus>, Constable

public enum CrawlStatus extends Enum<CrawlStatus>
  • Enum Constant Details

    • CREATED

      public static final CrawlStatus CREATED
      Initial value. May not be ready to run/incomplete.
    • PENDING

      public static final CrawlStatus PENDING
      Job has been successfully submitted to a CrawlJobHandler.
    • RUNNING

      public static final CrawlStatus RUNNING
      Job is being crawled.
    • DELETED

      public static final CrawlStatus DELETED
      Job was deleted by user, will not be displayed in UI.
    • ABORTED

      public static final CrawlStatus ABORTED
      Job was terminted by user input while crawling.
    • FINISHED_ABNORMAL

      public static final CrawlStatus FINISHED_ABNORMAL
      Something went very wrong.
    • FINISHED

      public static final CrawlStatus FINISHED
      Job finished normally having completed its crawl.
    • FINISHED_TIME_LIMIT

      public static final CrawlStatus FINISHED_TIME_LIMIT
      Job finished normally when the specified timelimit was hit.
    • FINISHED_DATA_LIMIT

      public static final CrawlStatus FINISHED_DATA_LIMIT
      Job finished normally when the specified amount of data (MB) had been downloaded
    • FINISHED_DOCUMENT_LIMIT

      public static final CrawlStatus FINISHED_DOCUMENT_LIMIT
      Job finished normally when the specified number of documents had been fetched.
    • FINISHED_WRITE_LIMIT

      public static final CrawlStatus FINISHED_WRITE_LIMIT
    • WAITING_FOR_PAUSE

      public static final CrawlStatus WAITING_FOR_PAUSE
      Job is going to be temporarily stopped after active threads are finished.
    • PAUSED

      public static final CrawlStatus PAUSED
      Job was temporarily stopped. State is kept so it can be resumed
    • CHECKPOINTING

      public static final CrawlStatus CHECKPOINTING
      Job is being checkpointed. When finished checkpointing, job is set back to STATUS_PAUSED (Job must be first paused before checkpointing will run).
    • MISCONFIGURED

      public static final CrawlStatus MISCONFIGURED
      Job could not be launced due to an InitializationException
    • PROFILE

      public static final CrawlStatus PROFILE
      Job is actually a profile
    • PREPARING

      public static final CrawlStatus PREPARING
      Prepared.
  • Field Details

    • desc

      public final String desc
  • Method Details

    • values

      public static CrawlStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CrawlStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDescription

      public String getDescription()