public enum ExpState extends Enum<ExpState>
| 枚举常量和说明 |
|---|
ERROR |
STOP_ASYNC |
SUCCESS
The Default.
|
TASK_INTERRUPT |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
getCode()
Gets code.
|
String |
getDesc()
Gets desc.
|
void |
setCode(Integer code)
Sets code.
|
void |
setDesc(String desc)
Sets desc.
|
static ExpState |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ExpState[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ExpState SUCCESS
public static final ExpState ERROR
public static final ExpState STOP_ASYNC
public static final ExpState TASK_INTERRUPT
public static ExpState[] values()
for (ExpState c : ExpState.values()) System.out.println(c);
public static ExpState valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public Integer getCode()
public void setCode(Integer code)
code - the codepublic String getDesc()
public void setDesc(String desc)
desc - the descCopyright © 2022. All rights reserved.