public static enum ConnState.ConnTransition extends java.lang.Enum<ConnState.ConnTransition>
Enum Constant and Description |
---|
LINK_DOWN
Connection in the process of going down.
|
LINK_UP
Connection in the process of coming up,
|
STEADY
No changes in the state of this connection.
|
Modifier and Type | Method and Description |
---|---|
static ConnState.ConnTransition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnState.ConnTransition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnState.ConnTransition STEADY
public static final ConnState.ConnTransition LINK_UP
public static final ConnState.ConnTransition LINK_DOWN
public static ConnState.ConnTransition[] values()
for (ConnState.ConnTransition c : ConnState.ConnTransition.values()) System.out.println(c);
public static ConnState.ConnTransition 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