Package org.gbif.api.model.crawler
Enum Class FinishReason
- All Implemented Interfaces:
Serializable
,Comparable<FinishReason>
,Constable
This enum lists the reasons why a crawl is finished.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis status means that we had to abort the crawl for any abnormal reason (endpoint down, not a valid archive, ...).This status means that we were able to finish the crawl without any fatal errors and without exhausting retries.Crawling has stopped because the source data was not modified since the last crawl.This status means that we don't know why the crawl aborted.This status means that the user requested an abort of the crawl and that is the reason this crawl is done. -
Method Summary
Modifier and TypeMethodDescriptionstatic FinishReason
Returns the enum constant of this class with the specified name.static FinishReason[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NORMAL
This status means that we were able to finish the crawl without any fatal errors and without exhausting retries. There could still have been intermittent errors but we managed to reach the end of an endpoint or a DwC-A file. -
USER_ABORT
This status means that the user requested an abort of the crawl and that is the reason this crawl is done. -
ABORT
This status means that we had to abort the crawl for any abnormal reason (endpoint down, not a valid archive, ...). To find the exact reason(s) you need to look at the logs to see past errors. -
NOT_MODIFIED
Crawling has stopped because the source data was not modified since the last crawl. -
UNKNOWN
This status means that we don't know why the crawl aborted. This is a sign of a programming error and should be investigated.
-
-
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
-