public enum NetInterfaceStatus extends Enum<NetInterfaceStatus>
Enum Constant and Description |
---|
netIPv4StatusDisabled
IPv4 configuration is disabled
|
netIPv4StatusEnabledLAN
IPv4 configuration is enabled as a LAN interface
|
netIPv4StatusEnabledWAN
IPv4 configuration is enabled as a WAN interface
|
netIPv4StatusUnknown
IPv4 configuration is unknown
|
netIPv6StatusDisabled
IPv6 configuration is disabled
|
netIPv6StatusEnabledLAN
IPv6 configuration is enabled as a LAN interface
|
netIPv6StatusEnabledWAN
IPv6 configuration is enabled as a WAN interface
|
netIPv6StatusUnknown
IPv6 configuration is unknown
|
Modifier and Type | Method and Description |
---|---|
static NetInterfaceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetInterfaceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetInterfaceStatus netIPv4StatusDisabled
public static final NetInterfaceStatus netIPv4StatusEnabledLAN
public static final NetInterfaceStatus netIPv4StatusEnabledWAN
public static final NetInterfaceStatus netIPv4StatusUnknown
public static final NetInterfaceStatus netIPv6StatusDisabled
public static final NetInterfaceStatus netIPv6StatusEnabledLAN
public static final NetInterfaceStatus netIPv6StatusEnabledWAN
public static final NetInterfaceStatus netIPv6StatusUnknown
public static NetInterfaceStatus[] values()
for (NetInterfaceStatus c : NetInterfaceStatus.values()) System.out.println(c);
public static NetInterfaceStatus 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 © 2013. All Rights Reserved.