public static enum StOnuInspect.PPPoEState extends java.lang.Enum<StOnuInspect.PPPoEState>
Enum Constant and Description |
---|
CONNECTED
已连接
|
CONNECTING
连接中
|
DISCONNECTED
未连接
|
NO_CONNECTION
没有PPPoE链接
|
Modifier and Type | Method and Description |
---|---|
static StOnuInspect.PPPoEState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StOnuInspect.PPPoEState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StOnuInspect.PPPoEState NO_CONNECTION
public static final StOnuInspect.PPPoEState DISCONNECTED
public static final StOnuInspect.PPPoEState CONNECTING
public static final StOnuInspect.PPPoEState CONNECTED
public static StOnuInspect.PPPoEState[] values()
for (StOnuInspect.PPPoEState c : StOnuInspect.PPPoEState.values()) System.out.println(c);
public static StOnuInspect.PPPoEState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null