public enum FinishReason extends Enum<FinishReason>
Enum Constant and Description |
---|
ABORT
This status means that we had to abort the crawl for any abnormal reason (endpoint down, not a valid archive,
...).
|
NORMAL
This status means that we were able to finish the crawl without any fatal errors and without exhausting retries.
|
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.
|
USER_ABORT
This status means that the user requested an abort of the crawl and that is the reason this crawl is done.
|
Modifier and Type | Method and Description |
---|---|
static FinishReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FinishReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FinishReason NORMAL
public static final FinishReason USER_ABORT
public static final FinishReason ABORT
public static final FinishReason NOT_MODIFIED
public static final FinishReason UNKNOWN
public static FinishReason[] values()
for (FinishReason c : FinishReason.values()) System.out.println(c);
public static FinishReason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.