public enum NetworkState extends java.lang.Enum<NetworkState>
Enum Constant and Description |
---|
DESABLING |
DISABLED |
ENABLED |
ENABLING |
FAILED |
Modifier and Type | Method and Description |
---|---|
static NetworkState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetworkState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkState DESABLING
public static final NetworkState DISABLED
public static final NetworkState ENABLING
public static final NetworkState ENABLED
public static final NetworkState FAILED
public static NetworkState[] values()
for (NetworkState c : NetworkState.values()) System.out.println(c);
public static NetworkState 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