Enum Class JobType

java.lang.Object
java.lang.Enum<JobType>
com.almis.awe.scheduler.enums.JobType
All Implemented Interfaces:
Serializable, Comparable<JobType>, Constable

public enum JobType extends Enum<JobType>
Enum Job types
Author:
pvidal
  • Enum Constant Details

    • JOB_COMMAND

      public static final JobType JOB_COMMAND
    • JOB_MAINTAIN

      public static final JobType JOB_MAINTAIN
    • JOB_TIMEOUT

      public static final JobType JOB_TIMEOUT
    • JOB_PROGRESS

      public static final JobType JOB_PROGRESS
  • Method Details

    • values

      public static JobType[] 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 JobType 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
    • getValue

      public Integer getValue()
      Get integer value
      Returns:
    • valueOf

      public static JobType valueOf(Integer value)
      Get value of integer
      Parameters:
      value - Value
      Returns:
      Task launch type