public enum UploadStatus extends Enum<UploadStatus>
Enum Constant and Description |
---|
ABORTED
Reserved for future use.
|
COMPLETED
The upload completed with no errors.
|
COMPLETED_WITH_ERRORS
The upload completed with one or more errors.
|
EXPIRED
Reserved for future use.
|
FAILED
The entire upload failed due to an unexpected error.
|
FILE_UPLOADED
The upload request has been received and is in the queue for processing.
|
IN_PROGRESS
The upload file has been accepted and the upload is in progress.
|
PENDING_FILE_UPLOAD
The upload file has not been received for the corresponding RequestId.
|
Modifier and Type | Method and Description |
---|---|
static UploadStatus |
fromValue(String v) |
String |
value() |
static UploadStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UploadStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UploadStatus COMPLETED
public static final UploadStatus COMPLETED_WITH_ERRORS
ResponseMode
element when calling the upload service and check
the result file for any errors.public static final UploadStatus FAILED
public static final UploadStatus FILE_UPLOADED
public static final UploadStatus IN_PROGRESS
public static final UploadStatus PENDING_FILE_UPLOAD
public static final UploadStatus ABORTED
public static final UploadStatus EXPIRED
public static UploadStatus[] values()
for (UploadStatus c : UploadStatus.values()) System.out.println(c);
public static UploadStatus 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 nullpublic String value()
public static UploadStatus fromValue(String v)
Copyright © 2024. All rights reserved.