JobState class final

Describes the state of a job.

Inheritance

Constructors

JobState(String value)
const
JobState.fromJson(Object? json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isNotDefault bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

$default → const JobState
The default value for JobState.
jobStateCancelled → const JobState
The job has been cancelled.
jobStateCancelling → const JobState
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.
jobStateExpired → const JobState
The job has expired.
jobStateFailed → const JobState
The job failed.
jobStatePartiallySucceeded → const JobState
The job is partially succeeded, some results may be missing due to errors.
jobStatePaused → const JobState
The job has been stopped, and can be resumed.
jobStatePending → const JobState
The service is preparing to run the job.
jobStateQueued → const JobState
The job has been just created or resumed and processing has not yet begun.
jobStateRunning → const JobState
The job is in progress.
jobStateSucceeded → const JobState
The job completed successfully.
jobStateUnspecified → const JobState
The job state is unspecified.
jobStateUpdating → const JobState
The job is being updated. Only jobs in the RUNNING state can be updated. After updating, the job goes back to the RUNNING state.