public static enum Ipv4Setting.Mode extends Enum<Ipv4Setting.Mode>
| Modifier and Type | Method and Description |
|---|---|
static Ipv4Setting.Mode |
fromValue(String value) |
String |
toString() |
static Ipv4Setting.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ipv4Setting.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ipv4Setting.Mode DHCP
public static final Ipv4Setting.Mode External
public static final Ipv4Setting.Mode IpPool
public static Ipv4Setting.Mode[] values()
for (Ipv4Setting.Mode c : Ipv4Setting.Mode.values()) System.out.println(c);
public static Ipv4Setting.Mode 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 nullpublic String toString()
toString in class Enum<Ipv4Setting.Mode>public static Ipv4Setting.Mode fromValue(String value)
Copyright © 2017. All rights reserved.