public enum NetRouterMode extends Enum<NetRouterMode>
| Enum Constant and Description |
|---|
netRouterDchp
DHCP only
|
netRouterDchpNat
DHCP and NAT
|
netRouterNat
NAT only
|
netRouterOff
OFF
|
| Modifier and Type | Method and Description |
|---|---|
static NetRouterMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetRouterMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetRouterMode netRouterDchpNat
public static final NetRouterMode netRouterDchp
public static final NetRouterMode netRouterNat
public static final NetRouterMode netRouterOff
public static NetRouterMode[] values()
for (NetRouterMode c : NetRouterMode.values()) System.out.println(c);
public static NetRouterMode 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 © 2016. All Rights Reserved.