public static enum Host.Type extends Enum<Host.Type>
Enum Constant and Description |
---|
CONSOLE_PROXY |
EXTERNAL_DHCP |
EXTERNAL_FIREWALL |
EXTERNAL_LOAD_BALANCER |
LOCAL_SECONDARY_STORAGE |
PXE_SERVER |
ROUTING |
SECONDARY_STORAGE |
SECONDARY_STORAGE_CMD_EXECUTOR |
SECONDARY_STORAGE_VM |
STORAGE |
TRAFFIC_MONITOR |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Host.Type |
fromValue(String value) |
String |
toString() |
static Host.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Host.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Host.Type STORAGE
public static final Host.Type ROUTING
public static final Host.Type SECONDARY_STORAGE
public static final Host.Type SECONDARY_STORAGE_CMD_EXECUTOR
public static final Host.Type CONSOLE_PROXY
public static final Host.Type EXTERNAL_FIREWALL
public static final Host.Type EXTERNAL_LOAD_BALANCER
public static final Host.Type PXE_SERVER
public static final Host.Type TRAFFIC_MONITOR
public static final Host.Type EXTERNAL_DHCP
public static final Host.Type SECONDARY_STORAGE_VM
public static final Host.Type LOCAL_SECONDARY_STORAGE
public static final Host.Type UNKNOWN
public static Host.Type[] values()
for (Host.Type c : Host.Type.values()) System.out.println(c);
public static Host.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 nullCopyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.