Enum Class JobState

java.lang.Object
java.lang.Enum<JobState>
uk.ac.manchester.spinnaker.alloc.model.JobState
All Implemented Interfaces:
Serializable, Comparable<JobState>, Constable

public enum JobState extends Enum<JobState>
All the possible states that a job may be in.
  • Enum Constant Details

    • UNKNOWN

      public static final JobState UNKNOWN
      The job ID requested was not recognised, or is in the initial state.
    • QUEUED

      public static final JobState QUEUED
      The job is waiting in a queue for a suitable machine.
    • POWER

      public static final JobState POWER
      The boards allocated to the job are currently being powered on or powered off.
    • READY

      public static final JobState READY
      The job has been allocated boards and the boards are not currently powering on or powering off.
    • DESTROYED

      public static final JobState DESTROYED
      The job has been destroyed.
  • Method Details

    • values

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