Enum UploadTester.UploadStatus
-
- All Implemented Interfaces:
public enum UploadTester.UploadStatusWhat became of a file handed to the tester for uploading.
- Since:
25.3
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UPLOADEDThe file was consumed by the upload handler or receiver.
REJECTEDThe file never reached the upload handler or receiver, because either the client-side constraints of the component or Flow's server-side accepted type validation refused it. A
FileRejectedEventis fired for the former.FAILEDThe file was accepted but its transfer failed.
PENDINGThe file was accepted but its transfer never concluded, which only happens when the upload itself threw, for instance because no upload handler is configured.
-
Method Summary
Modifier and Type Method Description static Array<UploadTester.UploadStatus>values()Returns an array containing the constants of this enum type, in the order they're declared. static UploadTester.UploadStatusvalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
values
static Array<UploadTester.UploadStatus> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static UploadTester.UploadStatus valueOf(String name)
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.)
- Returns:
the enum constant with the specified name
-
-
-
-