Enum Class ExportStatus

java.lang.Object
java.lang.Enum<ExportStatus>
com.broadleafcommerce.common.dataexport.support.ExportStatus
All Implemented Interfaces:
Serializable, Comparable<ExportStatus>, Constable

public enum ExportStatus extends Enum<ExportStatus>
Represents the status of a Export operation.
Author:
Samarth Dhruva (samarthd)
See Also:
  • Export.status
  • Enum Constant Details

    • REQUESTED

      public static final ExportStatus REQUESTED
      Indicates that the export has been created, but has not yet begun processing.
    • PROCESSING

      public static final ExportStatus PROCESSING
      Indicates that the export is currently being processed.

      This should be set by the ProcessExportRequestListener when it begins processing an export.

    • FINISHED

      public static final ExportStatus FINISHED
      Indicates that the export has completed successfully.
    • ERROR

      public static final ExportStatus ERROR
      Indicates that the export encountered an error and did not complete successfully.
  • Method Details

    • values

      public static ExportStatus[] 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 ExportStatus 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