public enum IPConfigurationType extends Enum<IPConfigurationType>
Enum Constant and Description |
---|
DHCP |
MANUAL |
STATIC |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static IPConfigurationType |
fromValue(String type) |
String |
toString() |
String |
value() |
static IPConfigurationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IPConfigurationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IPConfigurationType DHCP
public static final IPConfigurationType STATIC
public static final IPConfigurationType MANUAL
public static final IPConfigurationType UNRECOGNIZED
public static IPConfigurationType[] values()
for (IPConfigurationType c : IPConfigurationType.values()) System.out.println(c);
public static IPConfigurationType 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 value()
public String toString()
toString
in class Enum<IPConfigurationType>
public static IPConfigurationType fromValue(String type)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.