Package com.compuware.api.topaz.jes
Enum JobStatus
- java.lang.Object
-
- java.lang.Enum<JobStatus>
-
- com.compuware.api.topaz.jes.JobStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<JobStatus>
public enum JobStatus extends Enum<JobStatus>
Enumeration of JES job statuses.- Since:
- 1.0.0
- Version:
- 2.0.0
- See Also:
IJESCommandProvider.getJobStatus(JobInfo)
- Restriction:
- This enum is not intended to be extended by clients.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_IN_NJE
JES job status of "active in Network Job Entry (NJE)".EXECUTING
JES job status of "executing".HAS_SECOND_LEVEL_MESSAGE
JES job status of "has second level message".HELD
JES job status of "held".ON_INPUT_QUEUE
JES job status of "on input queue".ON_OUTPUT_QUEUE
JES job status of "on output queue".
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JobStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static JobStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE_IN_NJE
public static final JobStatus ACTIVE_IN_NJE
JES job status of "active in Network Job Entry (NJE)".- Since:
- 1.0.0
-
EXECUTING
public static final JobStatus EXECUTING
JES job status of "executing".- Since:
- 1.0.0
-
HAS_SECOND_LEVEL_MESSAGE
public static final JobStatus HAS_SECOND_LEVEL_MESSAGE
JES job status of "has second level message".- Since:
- 1.0.0
-
HELD
public static final JobStatus HELD
JES job status of "held".- Since:
- 1.0.0
-
ON_INPUT_QUEUE
public static final JobStatus ON_INPUT_QUEUE
JES job status of "on input queue".- Since:
- 1.0.0
-
ON_OUTPUT_QUEUE
public static final JobStatus ON_OUTPUT_QUEUE
JES job status of "on output queue".- Since:
- 1.0.0
-
-
Method Detail
-
values
public static JobStatus[] 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 (JobStatus c : JobStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JobStatus 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
-
-