Enum Class FileUploadStatuses

java.lang.Object
java.lang.Enum<FileUploadStatuses>
com.broadleafcommerce.asset.domain.type.FileUploadStatuses
All Implemented Interfaces:
Serializable, Comparable<FileUploadStatuses>, Constable

public enum FileUploadStatuses extends Enum<FileUploadStatuses>

A FileUploadStatuses defines statuses for the FileUploadState

Author:
Dima Myroniuk (dmyroniuk)
  • Enum Constant Details

    • IN_PROGRESS

      public static final FileUploadStatuses IN_PROGRESS
      Indicates that the uploading is in progress
    • SUCCESSFUL

      public static final FileUploadStatuses SUCCESSFUL
      Indicates that the upload was successful
    • PARTIALLY_SUCCESSFUL

      public static final FileUploadStatuses PARTIALLY_SUCCESSFUL
      Indicates that some of the files from zip archive weren't uploaded
    • UNSUCCESSFUL

      public static final FileUploadStatuses UNSUCCESSFUL
      Indicates that upload was unsuccessful
  • Method Details

    • values

      public static FileUploadStatuses[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FileUploadStatuses valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null