Enum Class JobMode

java.lang.Object
java.lang.Enum<JobMode>
com.kingsrook.qqq.backend.core.jobs.model.JobMode
All Implemented Interfaces:
PossibleValueEnum<String>, Serializable, Comparable<JobMode>, Constable

public enum JobMode extends Enum<JobMode> implements PossibleValueEnum<String>
Whether a job validates only or executes (jobs_job.mode).
  • Enum Constant Details

    • VALIDATE

      public static final JobMode VALIDATE
    • EXECUTE

      public static final JobMode EXECUTE
  • Field Details

  • Method Details

    • values

      public static JobMode[] 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 JobMode 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
    • getPossibleValueId

      public String getPossibleValueId()
      Specified by:
      getPossibleValueId in interface PossibleValueEnum<String>
    • getPossibleValueLabel

      public String getPossibleValueLabel()
      Specified by:
      getPossibleValueLabel in interface PossibleValueEnum<String>