4 public enum WSJobStatus
6 /** Job has invalid parameters and cannot be started. */
8 /** Job is ready to be submitted. */
10 /** Job has been submitted and awaits processing. */
12 /** Job has been queued for execution. */
14 /** Job is running. */
16 /** Job has finished with no errors. */
19 /** Job has finished with errors. */
21 /** Job cannot be processed or completed due to server error. */
23 /** Job has been cancelled. */
25 /** Status cannot be determined. */
29 public boolean isSubmitted()
49 public boolean isCancelled()
51 return this == WSJobStatus.CANCELLED;
54 public boolean isDone()
74 public boolean isFailed()
94 public boolean isRunning()
96 return this == WSJobStatus.RUNNING;
99 public boolean isQueuing()
101 return this == WSJobStatus.SUBMITTED || this == WSJobStatus.QUEUED;