public enum StateType extends Enum<StateType>
| 枚举常量和说明 |
|---|
CIRCUIT_BREAK |
LOCK |
OK |
public static final StateType OK
public static final StateType LOCK
public static final StateType CIRCUIT_BREAK
public static StateType[] values()
for (StateType c : StateType.values()) System.out.println(c);
public static StateType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2022 The Apache Software Foundation. All rights reserved.