public static abstract @interface Task.TaskOutcome implements Annotation
The outcome of an attempt to execute a task. When TaskState is closed, this indicates whether it was completed successfully or not.
|int||FAILED||Task could not be completed or was cancelled.|
|int||SUCCEEDED||Task was completed successfully.|
|int||UNSPECIFIED||Default, used for an unspecified or unrecognized Task outcome.|
Inherited Method Summary
From interface java.lang.annotation.Annotation
|abstract Class<? extends Annotation>||
public static final int FAILED
Task could not be completed or was cancelled.
Constant Value: 2
public static final int SUCCEEDED
Task was completed successfully.
Constant Value: 1
public static final int UNSPECIFIED
Default, used for an unspecified or unrecognized Task outcome.
Constant Value: 0