public static enum Project.Status extends Enum<Project.Status>
Enum Constant and Description |
---|
AVAILABLE
正常
|
DELETING
删除
|
FROZEN
冻结
|
READONLY
只读
|
UNKOWN
未知
|
Modifier and Type | Method and Description |
---|---|
static Project.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Project.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Project.Status AVAILABLE
public static final Project.Status READONLY
public static final Project.Status DELETING
public static final Project.Status FROZEN
public static final Project.Status UNKOWN
public static Project.Status[] values()
for (Project.Status c : Project.Status.values()) System.out.println(c);
public static Project.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023 Alibaba Cloud Computing. All rights reserved.