public static enum FileTransfer.Status extends Enum<FileTransfer.Status>
| Enum Constant and Description |
|---|
COMPLETE
On successful completion of the transfer task, it will have status as
COMPLETE
|
FAILED
If the transfer is interrupted for any reason, the status will be
changed to FAILED to indicate the failure
|
INPROGRESS
The task is being executed, the status will be maintained as
INPROGRESS
|
UNDEFINED
File transfer status is UNDEFINED before it is queued up for
processing
|
WAITING
While the transfer task is inside queue, the status of the transfer
task is WAITING
|
| Modifier and Type | Method and Description |
|---|---|
static FileTransfer.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileTransfer.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileTransfer.Status UNDEFINED
public static final FileTransfer.Status WAITING
public static final FileTransfer.Status INPROGRESS
public static final FileTransfer.Status FAILED
public static final FileTransfer.Status COMPLETE
public static FileTransfer.Status[] values()
for (FileTransfer.Status c : FileTransfer.Status.values()) System.out.println(c);
public static FileTransfer.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 © 2019. All rights reserved.