public enum DHCPConfigScope extends java.lang.Enum<DHCPConfigScope>
Enum Constant and Description |
---|
Global
|
Group
|
MAC
|
MachineNIC
|
Modifier and Type | Method and Description |
---|---|
static DHCPConfigScope |
fromValue(long v) |
static DHCPConfigScope |
fromValue(java.lang.String v) |
int |
value() |
static DHCPConfigScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DHCPConfigScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DHCPConfigScope Global
public static final DHCPConfigScope Group
public static final DHCPConfigScope MachineNIC
public static final DHCPConfigScope MAC
public static DHCPConfigScope[] values()
for (DHCPConfigScope c : DHCPConfigScope.values()) System.out.println(c);
public static DHCPConfigScope valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static DHCPConfigScope fromValue(long v)
public static DHCPConfigScope fromValue(java.lang.String v)