AI-generated Key Takeaways
-
Task.TaskOutcomeis an annotation that indicates the result of a task execution attempt. -
It has three possible outcomes:
FAILED,SUCCEEDED, andUNSPECIFIED. -
FAILEDindicates that the task could not be completed or was cancelled. -
SUCCEEDEDindicates that the task was completed successfully. -
UNSPECIFIEDis the default and represents an unrecognized task outcome.
The outcome of an attempt to execute a task. When TaskState is closed, this indicates whether it was completed successfully or not.
Constant Summary
| 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
Constants
public static final int FAILED
Task could not be completed or was cancelled.
public static final int SUCCEEDED
Task was completed successfully.
public static final int UNSPECIFIED
Default, used for an unspecified or unrecognized Task outcome.