Package org.jline.shell
Enum Class Job.Status
- All Implemented Interfaces:
Serializable,Comparable<Job.Status>,Constable
- Enclosing interface:
Job
Job lifecycle status.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionJob is running in the backgroundJob has completed executionJob is running in the foregroundJob has been suspended (e.g., via Ctrl-Z) -
Method Summary
Modifier and TypeMethodDescriptionstatic Job.StatusReturns the enum constant of this class with the specified name.static Job.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Foreground
Job is running in the foreground -
Background
Job is running in the background -
Suspended
Job has been suspended (e.g., via Ctrl-Z) -
Done
Job has completed execution
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-