Enum Class Job.Status

java.lang.Object
java.lang.Enum<Job.Status>
org.jline.shell.Job.Status
All Implemented Interfaces:
Serializable, Comparable<Job.Status>, Constable
Enclosing interface:
Job

public static enum Job.Status extends Enum<Job.Status>
Job lifecycle status.
  • Enum Constant Details

    • Foreground

      public static final Job.Status Foreground
      Job is running in the foreground
    • Background

      public static final Job.Status Background
      Job is running in the background
    • Suspended

      public static final Job.Status Suspended
      Job has been suspended (e.g., via Ctrl-Z)
    • Done

      public static final Job.Status Done
      Job has completed execution
  • Method Details

    • values

      public static Job.Status[] 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 Job.Status 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