Enum UploadTester.UploadStatus

  • All Implemented Interfaces:

    
    public enum UploadTester.UploadStatus
    
                        

    What became of a file handed to the tester for uploading.

    Since:

    25.3

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      UPLOADED

      The file was consumed by the upload handler or receiver.

      REJECTED

      The 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 FileRejectedEvent is fired for the former.

      FAILED

      The file was accepted but its transfer failed.

      PENDING

      The file was accepted but its transfer never concluded. That happens when the upload itself threw, for instance because no upload handler is configured, and for a file added with auto upload turned off, which waits in the file list until the user starts it.

    • 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.UploadStatus valueOf(String name) Returns the enum constant of this type with the specified name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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