org.jclouds.cloudstack.domain
Enum Host.Type

java.lang.Object
  extended by java.lang.Enum<Host.Type>
      extended by 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
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
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 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.