TaskOutcome
نتیجه تلاش برای اجرای یک Task. وقتی TaskState
بسته می شود، TaskOutcome
نشان می دهد که آیا با موفقیت کامل شده است یا خیر.
Enums |
---|
TASK_OUTCOME_UNSPECIFIED | نتیجه Task قبل از تنظیم مقدار آن. |
SUCCEEDED | کار با موفقیت انجام شد. |
FAILED | یا کار انجام نشد، یا لغو شد. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-10-26 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-26 بهوقت ساعت هماهنگ جهانی."],[[["`TaskOutcome` shows the result of a Task execution attempt, mainly focusing on success or failure when the Task is closed."],["The enum provides three states: `TASK_OUTCOME_UNSPECIFIED` for an initial unset state, `SUCCEEDED` for successful completion, and `FAILED` for either incompletion or cancellation of the task."]]],["`TaskOutcome` details the result of a Task execution once its state is closed. Possible outcomes include `TASK_OUTCOME_UNSPECIFIED`, representing the initial state before a result is set. `SUCCEEDED` indicates a successful completion, while `FAILED` signifies that the Task could not be completed or was cancelled. These values are crucial for understanding if a given Task was successfully finished or not.\n"]]