Enum JobState.Known
-
- All Implemented Interfaces:
public enum JobState.KnownEnum representing the known values for JobState.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JOB_STATE_UNSPECIFIEDThe job state is unspecified.
JOB_STATE_QUEUEDThe job has been just created or resumed and processing has not yet begun.
JOB_STATE_PENDINGThe service is preparing to run the job.
JOB_STATE_RUNNINGThe job is in progress.
JOB_STATE_SUCCEEDEDThe job completed successfully.
JOB_STATE_FAILEDThe job failed.
JOB_STATE_CANCELLINGThe job is being cancelled. From this state the job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
JOB_STATE_CANCELLEDThe job has been cancelled.
JOB_STATE_PAUSEDThe job has been stopped, and can be resumed.
JOB_STATE_EXPIREDThe job has expired.
JOB_STATE_UPDATINGThe job is being updated. Only jobs in the `JOB_STATE_RUNNING` state can be updated. After updating, the job goes back to the `JOB_STATE_RUNNING` state.
JOB_STATE_PARTIALLY_SUCCEEDEDThe job is partially succeeded, some results may be missing due to errors.
-
Method Summary
Modifier and Type Method Description static Array<JobState.Known>values()Returns an array containing the constants of this enum type, in the order they're declared. static JobState.KnownvalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
values
static Array<JobState.Known> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static JobState.Known 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.)
- Returns:
the enum constant with the specified name
-
-
-
-