public enum EventStatus extends java.lang.Enum<EventStatus>
事件响应状态枚举类。
枚举常量和说明 |
---|
PROCESS_COMPLETE
执行完成。
|
PROCESS_FAILED
执行失败。
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getDescription()
返回描述信息。
|
int |
getValue()
返回值。
|
void |
setDescription(java.lang.String description)
设置描述信息。
|
java.lang.String |
toString()
将返回值转换为字符串。
|
static EventStatus |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static EventStatus[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final EventStatus PROCESS_COMPLETE
执行完成。
public static final EventStatus PROCESS_FAILED
执行失败。
public static EventStatus[] values()
for (EventStatus c : EventStatus.values()) System.out.println(c);
public static EventStatus valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。public java.lang.String getDescription()
返回描述信息。
public void setDescription(java.lang.String description)
设置描述信息。
description
-public int getValue()
返回值。
public java.lang.String toString()
将返回值转换为字符串。
toString
在类中 java.lang.Enum<EventStatus>