public enum NetworkInterfaceState extends java.lang.Enum<NetworkInterfaceState>
| Enum Constant and Description |
|---|
ACTIVATED
The device is active.
|
CONFIG
The device is being configured.
|
DEACTIVATING
The device's network connection is being turn down.
|
DISCONNECTED
The device is not connected.
|
FAILED
The device is in a failure state following an attempt to activate it.
|
IP_CHECK
The device's IP connectivity ability is being determined.
|
IP_CONFIG
The IP settings of the device are being requested and configured.
|
NEED_AUTH
The device is awaiting secrets necessary to continue connection.
|
PREPARE
The device is preparing to connect.
|
SECONDARIES
The device is waiting for secondary connections to be activated.
|
UNAVAILABLE
The device cannot be used (carrier off, rfkill, etc).
|
UNKNOWN
The device is in an unknown state.
|
UNMANAGED
The device is recognized but not managed.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkInterfaceState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetworkInterfaceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkInterfaceState UNKNOWN
public static final NetworkInterfaceState UNMANAGED
public static final NetworkInterfaceState UNAVAILABLE
public static final NetworkInterfaceState DISCONNECTED
public static final NetworkInterfaceState PREPARE
public static final NetworkInterfaceState CONFIG
public static final NetworkInterfaceState NEED_AUTH
public static final NetworkInterfaceState IP_CONFIG
public static final NetworkInterfaceState IP_CHECK
public static final NetworkInterfaceState SECONDARIES
public static final NetworkInterfaceState ACTIVATED
public static final NetworkInterfaceState DEACTIVATING
public static final NetworkInterfaceState FAILED
public static NetworkInterfaceState[] values()
for (NetworkInterfaceState c : NetworkInterfaceState.values()) System.out.println(c);
public static NetworkInterfaceState 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