Known

public enum Known

Enum representing the known values for JobState.

Entries

Link copied to clipboard

The job state is unspecified.

Link copied to clipboard

The job has been just created or resumed and processing has not yet begun.

Link copied to clipboard

The service is preparing to run the job.

Link copied to clipboard

The job is in progress.

Link copied to clipboard

The job completed successfully.

Link copied to clipboard

The job failed.

Link copied to clipboard

The job is being cancelled. From this state the job may only go to either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.

Link copied to clipboard

The job has been cancelled.

Link copied to clipboard

The job has been stopped, and can be resumed.

Link copied to clipboard

The job has expired.

Link copied to clipboard

The 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.

Link copied to clipboard

The job is partially succeeded, some results may be missing due to errors.

Functions

Link copied to clipboard
public 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.)

Link copied to clipboard
public 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.