public static enum Download.Status extends Enum<Download.Status>
Enum Constant and Description |
---|
CANCELLED |
FAILED |
FILE_ERASED |
KILLED |
PREPARING |
RUNNING |
SUCCEEDED |
SUSPENDED |
Modifier and Type | Field and Description |
---|---|
static EnumSet<Download.Status> |
EXECUTING_STATUSES
Statuses that represent a download that that hasn't finished.
|
static EnumSet<Download.Status> |
FINISH_STATUSES
Statuses that represent a download that that has finished.
|
Modifier and Type | Method and Description |
---|---|
static Download.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Download.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Download.Status PREPARING
public static final Download.Status RUNNING
public static final Download.Status SUCCEEDED
public static final Download.Status CANCELLED
public static final Download.Status KILLED
public static final Download.Status FAILED
public static final Download.Status SUSPENDED
public static final Download.Status FILE_ERASED
public static final EnumSet<Download.Status> EXECUTING_STATUSES
public static final EnumSet<Download.Status> FINISH_STATUSES
public static Download.Status[] values()
for (Download.Status c : Download.Status.values()) System.out.println(c);
public static Download.Status 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.