public static enum NetworkAdapterInfo.OperationState extends Enum<NetworkAdapterInfo.OperationState>
| Enum Constant and Description |
|---|
DORMANT |
DOWN |
LOWERLAYERDOWN |
NOTPRESENT |
TESTING |
UNKNOWN |
UP |
| Modifier and Type | Method and Description |
|---|---|
static NetworkAdapterInfo.OperationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkAdapterInfo.OperationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkAdapterInfo.OperationState UP
public static final NetworkAdapterInfo.OperationState DOWN
public static final NetworkAdapterInfo.OperationState TESTING
public static final NetworkAdapterInfo.OperationState UNKNOWN
public static final NetworkAdapterInfo.OperationState DORMANT
public static final NetworkAdapterInfo.OperationState NOTPRESENT
public static final NetworkAdapterInfo.OperationState LOWERLAYERDOWN
public static NetworkAdapterInfo.OperationState[] values()
for (NetworkAdapterInfo.OperationState c : NetworkAdapterInfo.OperationState.values()) System.out.println(c);
public static NetworkAdapterInfo.OperationState 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 nullCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.