public static enum ResumableHttpFileUploader.UploadState extends java.lang.Enum<ResumableHttpFileUploader.UploadState>
CLIENT_ERROR
means that the uploader was unable to execute the upload properly because
of a thread execution error, or if a file was manipulated between the time
that the upload was started and completed.Enum Constant and Description |
---|
CLIENT_ERROR |
COMPLETE |
IN_PROGRESS |
NOT_STARTED |
PAUSED |
Modifier and Type | Method and Description |
---|---|
static ResumableHttpFileUploader.UploadState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResumableHttpFileUploader.UploadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResumableHttpFileUploader.UploadState COMPLETE
public static final ResumableHttpFileUploader.UploadState CLIENT_ERROR
public static final ResumableHttpFileUploader.UploadState IN_PROGRESS
public static final ResumableHttpFileUploader.UploadState NOT_STARTED
public static final ResumableHttpFileUploader.UploadState PAUSED
public static ResumableHttpFileUploader.UploadState[] values()
for (ResumableHttpFileUploader.UploadState c : ResumableHttpFileUploader.UploadState.values()) System.out.println(c);
public static ResumableHttpFileUploader.UploadState 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