Package org.archive.crawler.framework
Enum Class CrawlStatus
- All Implemented Interfaces:
Serializable
,Comparable<CrawlStatus>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionJob was terminted by user input while crawling.Job is being checkpointed.Initial value.Job was deleted by user, will not be displayed in UI.Job finished normally having completed its crawl.Something went very wrong.Job finished normally when the specified amount of data (MB) had been downloadedJob finished normally when the specified number of documents had been fetched.Job finished normally when the specified timelimit was hit.Job could not be launced due to an InitializationExceptionJob was temporarily stopped.Job has been successfully submitted to a CrawlJobHandler.Prepared.Job is actually a profileJob is being crawled.Job is going to be temporarily stopped after active threads are finished. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic CrawlStatus
Returns the enum constant of this class with the specified name.static CrawlStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATED
Initial value. May not be ready to run/incomplete. -
PENDING
Job has been successfully submitted to a CrawlJobHandler. -
RUNNING
Job is being crawled. -
DELETED
Job was deleted by user, will not be displayed in UI. -
ABORTED
Job was terminted by user input while crawling. -
FINISHED_ABNORMAL
Something went very wrong. -
FINISHED
Job finished normally having completed its crawl. -
FINISHED_TIME_LIMIT
Job finished normally when the specified timelimit was hit. -
FINISHED_DATA_LIMIT
Job finished normally when the specified amount of data (MB) had been downloaded -
FINISHED_DOCUMENT_LIMIT
Job finished normally when the specified number of documents had been fetched. -
FINISHED_WRITE_LIMIT
-
WAITING_FOR_PAUSE
Job is going to be temporarily stopped after active threads are finished. -
PAUSED
Job was temporarily stopped. State is kept so it can be resumed -
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
Job could not be launced due to an InitializationException -
PROFILE
Job is actually a profile -
PREPARING
Prepared.
-
-
Field Details
-
desc
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getDescription
-