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