public static enum BizInfo.StateChangeReason extends Enum<BizInfo.StateChangeReason>
| Enum Constant and Description |
|---|
CREATED
模块被创建
|
FAILED
模块启动失败
|
KILLING
模块正在停止
|
STARTED
模块启动成功
|
STOPPED
模块已停止
|
SWITCHED
模块被切换为 ACTIVATED 或 DEACTIVATED 状态
|
UNDEFINE
默认值:未定义
|
| Modifier and Type | Method and Description |
|---|---|
String |
getReason() |
String |
toString() |
static BizInfo.StateChangeReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BizInfo.StateChangeReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BizInfo.StateChangeReason CREATED
public static final BizInfo.StateChangeReason STARTED
public static final BizInfo.StateChangeReason FAILED
public static final BizInfo.StateChangeReason SWITCHED
public static final BizInfo.StateChangeReason KILLING
public static final BizInfo.StateChangeReason STOPPED
public static final BizInfo.StateChangeReason UNDEFINE
public static BizInfo.StateChangeReason[] values()
for (BizInfo.StateChangeReason c : BizInfo.StateChangeReason.values()) System.out.println(c);
public static BizInfo.StateChangeReason 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 nullpublic String getReason()
public String toString()
toString in class Enum<BizInfo.StateChangeReason>Copyright © 2024. All rights reserved.