Перечисления | |
---|---|
STATE_UNSPECIFIED | |
ACTIVE | Объект активен и отображается вместе с другими активными объектами. |
active | Устаревший псевдоним для |
COMPLETED | |
completed | Устаревший псевдоним для |
EXPIRED | Объект больше не действителен (пройден validTimeInterval ). |
expired | Устаревший псевдоним |
INACTIVE | |
inactive | Устаревший псевдоним для |
State
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[[["\u003cp\u003eThis enum defines the various states an object can be in, such as active, completed, expired, or inactive.\u003c/p\u003e\n"],["\u003cp\u003eLegacy aliases using lowercase lettering are deprecated and should be replaced with their uppercase counterparts.\u003c/p\u003e\n"],["\u003cp\u003eObjects transition to \u003ccode\u003eEXPIRED\u003c/code\u003e state once their \u003ccode\u003evalidTimeInterval\u003c/code\u003e has elapsed.\u003c/p\u003e\n"]]],["The provided content defines enums for object states. `ACTIVE` indicates an object is currently in use and visible. `COMPLETED` signifies a finished state. `EXPIRED` means the object's validity period has ended. `INACTIVE` is another state. Legacy aliases (`active`, `completed`, `expired`, `inactive`) are provided for each respective state but are deprecated. `STATE_UNSPECIFIED` is also an enum. Each of the deprecated legacy items is noted as such.\n"],null,["# State\n\n| Enums ||\n|---------------------|----------------------------------------------------------------------|\n| `STATE_UNSPECIFIED` | |\n| `ACTIVE` | Object is active and displayed to with other active objects. |\n| `active` | Legacy alias for `ACTIVE`. Deprecated. | This item is deprecated! |\n| `COMPLETED` | |\n| `completed` | Legacy alias for `COMPLETED`. Deprecated. | This item is deprecated! |\n| `EXPIRED` | Object is no longer valid (`validTimeInterval` passed). |\n| `expired` | Legacy alias for `EXPIRED`. Deprecated. | This item is deprecated! |\n| `INACTIVE` | |\n| `inactive` | Legacy alias for `INACTIVE`. Deprecated. | This item is deprecated! |"]]