|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NetInterfaceStatus> com.eurotech.framework.net.NetInterfaceStatus
public enum NetInterfaceStatus
Used to track interface configuration status
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |