Package com.dnanexus
Enum JobState
- java.lang.Object
-
- java.lang.Enum<JobState>
-
- com.dnanexus.JobState
-
- All Implemented Interfaces:
Serializable,Comparable<JobState>
public enum JobState extends Enum<JobState>
The state of a job in the system.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEBUG_HOLDDONEFAILEDIDLERESTARTABLERUNNABLERUNNINGTERMINATEDTERMINATINGUNRESPONSIVEWAITING_ON_INPUTWAITING_ON_OUTPUT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JobStatevalueOf(String name)Returns the enum constant of this type with the specified name.static JobState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE
public static final JobState IDLE
-
WAITING_ON_INPUT
public static final JobState WAITING_ON_INPUT
-
RUNNABLE
public static final JobState RUNNABLE
-
RUNNING
public static final JobState RUNNING
-
WAITING_ON_OUTPUT
public static final JobState WAITING_ON_OUTPUT
-
DONE
public static final JobState DONE
-
FAILED
public static final JobState FAILED
-
UNRESPONSIVE
public static final JobState UNRESPONSIVE
-
TERMINATING
public static final JobState TERMINATING
-
TERMINATED
public static final JobState TERMINATED
-
DEBUG_HOLD
public static final JobState DEBUG_HOLD
-
RESTARTABLE
public static final JobState RESTARTABLE
-
-
Method Detail
-
values
public static JobState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JobState c : JobState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JobState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-