public static enum Transfer.TransferState extends Enum<Transfer.TransferState>
Enum Constant and Description |
---|
Canceled
The transfer was canceled and did not complete successfully.
|
Completed
The transfer completed successfully.
|
Failed
The transfer failed.
|
InProgress
The transfer is actively uploading or downloading and hasn't finished yet.
|
Waiting
The transfer is waiting for resources to execute and has not started yet.
|
Modifier and Type | Method and Description |
---|---|
static Transfer.TransferState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transfer.TransferState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transfer.TransferState Waiting
public static final Transfer.TransferState InProgress
public static final Transfer.TransferState Completed
public static final Transfer.TransferState Canceled
public static final Transfer.TransferState Failed
public static Transfer.TransferState[] values()
for (Transfer.TransferState c : Transfer.TransferState.values()) System.out.println(c);
public static Transfer.TransferState 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 © 2022. All rights reserved.