Package org.jclouds.cloudstack.domain
Enum Host.Type
- java.lang.Object
-
- java.lang.Enum<Host.Type>
-
- org.jclouds.cloudstack.domain.Host.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Host.Type>
- Enclosing class:
- Host
public static enum Host.Type extends Enum<Host.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
STORAGE
public static final Host.Type STORAGE
-
ROUTING
public static final Host.Type ROUTING
-
SECONDARY_STORAGE
public static final Host.Type SECONDARY_STORAGE
-
SECONDARY_STORAGE_CMD_EXECUTOR
public static final Host.Type SECONDARY_STORAGE_CMD_EXECUTOR
-
CONSOLE_PROXY
public static final Host.Type CONSOLE_PROXY
-
EXTERNAL_FIREWALL
public static final Host.Type EXTERNAL_FIREWALL
-
EXTERNAL_LOAD_BALANCER
public static final Host.Type EXTERNAL_LOAD_BALANCER
-
PXE_SERVER
public static final Host.Type PXE_SERVER
-
TRAFFIC_MONITOR
public static final Host.Type TRAFFIC_MONITOR
-
EXTERNAL_DHCP
public static final Host.Type EXTERNAL_DHCP
-
SECONDARY_STORAGE_VM
public static final Host.Type SECONDARY_STORAGE_VM
-
LOCAL_SECONDARY_STORAGE
public static final Host.Type LOCAL_SECONDARY_STORAGE
-
UNKNOWN
public static final Host.Type UNKNOWN
-
-
Method Detail
-
values
public static Host.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Host.Type c : Host.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Host.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-