Enum LogProgressCallback.TransferType
java.lang.Object
java.lang.Enum<LogProgressCallback.TransferType>
com.amilesend.client.connection.file.LogProgressCallback.TransferType
- All Implemented Interfaces:
Serializable
,Comparable<LogProgressCallback.TransferType>
- Enclosing class:
LogProgressCallback
Describes that transfer type used for logging progress.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionThe type formatted for log records.Returns the enum constant of this type with the specified name.static LogProgressCallback.TransferType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UPLOAD
Indicates that the transfer is for a file upload. -
DOWNLOAD
Indicates that the transfer is for a file download. -
UNDEFINED
Used when the type is not defined and defaults to a generic "Transfer".
-
-
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
-
getLogPrefix
The type formatted for log records.
-