Task.TaskState
The state of a Task indicating its progression.
Constant Summary
int |
CLOSED
|
The work for the task has been completed. |
int |
OPEN
|
The work for the task has not been
completed. |
int |
UNSPECIFIED
|
Default, used for an unspecified or unrecognized
Task state. |
Inherited Method Summary
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation>
|
annotationType()
|
abstract boolean |
|
abstract int |
hashCode()
|
abstract String
|
toString()
|
Constants
public static final int
CLOSED
The work for the task has been completed.
Constant Value: 2
public static final int
OPEN
The work for the task has not been completed.
Constant Value: 1
public static final int
UNSPECIFIED
Default, used for an unspecified or unrecognized Task state.
Constant Value: 0
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-25 UTC.
[null,null,["Last updated 2024-11-25 UTC."],[[["`Task.TaskState` is an annotation that indicates the progression of a Task."],["It has three states: `CLOSED`, `OPEN`, and `UNSPECIFIED`, representing completed, uncompleted, and unknown task statuses respectively."],["The states are represented by integer constants: 2 for `CLOSED`, 1 for `OPEN`, and 0 for `UNSPECIFIED`."],["It inherits methods from `java.lang.annotation.Annotation` like `annotationType()`, `equals()`, `hashCode()`, and `toString()`."]]],[]]