Enum Class ArchiveStatus

java.lang.Object
java.lang.Enum<ArchiveStatus>
com.netflix.genie.common.dto.ArchiveStatus
All Implemented Interfaces:
Serializable, Comparable<ArchiveStatus>, Constable

public enum ArchiveStatus extends Enum<ArchiveStatus>
Possible archival statuses for a Job.
Since:
4.3.0
  • Enum Constant Details

    • PENDING

      public static final ArchiveStatus PENDING
      Files will be uploaded after the job finishes.
    • ARCHIVED

      public static final ArchiveStatus ARCHIVED
      Files were archived successfully.
    • FAILED

      public static final ArchiveStatus FAILED
      Archival of files failed, files are not archived.
    • DISABLED

      public static final ArchiveStatus DISABLED
      Archiving was disabled, files are not archived.
    • NO_FILES

      public static final ArchiveStatus NO_FILES
      No files were archived because no files were created. i.e., job never reached the point where a directory is created.
    • UNKNOWN

      public static final ArchiveStatus UNKNOWN
      Archive status is unknown.
  • Method Details

    • values

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