public static enum StorageDispatcher.Progress.State extends java.lang.Enum<StorageDispatcher.Progress.State>
Enum Constant and Description |
---|
CANCELLED
Up/download was cancelled before it completed
|
COMPLETED
Up/download completed successfully
|
FAILED
Up/download failed without completing
|
IN_PROGRESS
Up/download is currently in progress
|
INITIATED
Initial state after upload() or download() is called
|
QUEUED
Up/download is queued and not yet started
|
Modifier and Type | Method and Description |
---|---|
static StorageDispatcher.Progress.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StorageDispatcher.Progress.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageDispatcher.Progress.State INITIATED
public static final StorageDispatcher.Progress.State QUEUED
public static final StorageDispatcher.Progress.State IN_PROGRESS
public static final StorageDispatcher.Progress.State COMPLETED
public static final StorageDispatcher.Progress.State CANCELLED
public static final StorageDispatcher.Progress.State FAILED
public static StorageDispatcher.Progress.State[] values()
for (StorageDispatcher.Progress.State c : StorageDispatcher.Progress.State.values()) System.out.println(c);
public static StorageDispatcher.Progress.State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null