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>
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
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 name
NullPointerException
- if the argument is null
fromValue
public static Host.Type fromValue(String value)
toString
public String toString()
- Overrides:
toString
in class Enum<Host.Type>
Copyright © 2009-2012 jclouds. All Rights Reserved.