Enum TransferStatus
- All Implemented Interfaces:
Serializable
,Comparable<TransferStatus>
The status of a Upload/Download operation performed by Transfer Manager.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe transfer failed after bytes could be moved.The transfer failed before bytes could be moved.The transfer failed because the object/file already exists and skipIfExists was set to true.The transfer was successful. -
Method Summary
Modifier and TypeMethodDescriptionstatic TransferStatus
Returns the enum constant of this type with the specified name.static TransferStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FAILED_TO_START
The transfer failed before bytes could be moved. -
FAILED_TO_FINISH
The transfer failed after bytes could be moved. -
SKIPPED
The transfer failed because the object/file already exists and skipIfExists was set to true. -
SUCCESS
The transfer was successful.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-