public static enum PipelineResult.State extends java.lang.Enum<PipelineResult.State>
When determining if a job is still running, consult the isTerminal() method rather
 than inspecting the precise state.
| Enum Constant and Description | 
|---|
| CANCELLEDThe job has been explicitly cancelled. | 
| DONEThe job has successfully completed. | 
| FAILEDThe job has failed. | 
| RUNNINGThe job is currently running. | 
| STOPPEDThe job has been paused, or has not yet started. | 
| UNKNOWNThe job state was not specified or unknown to a runner. | 
| UNRECOGNIZEDThe job state reported by a runner cannot be interpreted by the SDK. | 
| UPDATEDThe job has been updated. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | hasReplacementJob() | 
| boolean | isTerminal() | 
| static PipelineResult.State | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static PipelineResult.State[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final PipelineResult.State UNKNOWN
public static final PipelineResult.State STOPPED
public static final PipelineResult.State RUNNING
public static final PipelineResult.State DONE
public static final PipelineResult.State FAILED
public static final PipelineResult.State CANCELLED
public static final PipelineResult.State UPDATED
public static final PipelineResult.State UNRECOGNIZED
public static PipelineResult.State[] values()
for (PipelineResult.State c : PipelineResult.State.values()) System.out.println(c);
public static PipelineResult.State valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final boolean isTerminal()
true if the job state can no longer complete work.public final boolean hasReplacementJob()
true if this job state indicates that a replacement job exists.