org.jclouds.cim
Enum ResourceAllocationSettingData.ResourceType

java.lang.Object
  extended by java.lang.Enum<ResourceAllocationSettingData.ResourceType>
      extended by org.jclouds.cim.ResourceAllocationSettingData.ResourceType
All Implemented Interfaces:
Serializable, Comparable<ResourceAllocationSettingData.ResourceType>
Enclosing class:
ResourceAllocationSettingData

public static enum ResourceAllocationSettingData.ResourceType
extends Enum<ResourceAllocationSettingData.ResourceType>

The type of resource this allocation setting represents.


Enum Constant Summary
BASE_PARTITIONABLE_UNIT
           
CD_DRIVE
           
COMPUTER_SYSTEM
           
COOLING_CAPACITY
           
DISK_DRIVE
           
DMTF_RESERVED
           
DVD_DRIVE
           
ETHERNET_ADAPTER
           
ETHERNET_CONNECTION
           
ETHERNET_SWITCH_PORT
           
FC_HBA
           
FLOPPY_DRIVE
           
GRAPHICS_CONTROLLER
           
IB_HCA
           
IDE_CONTROLLER
           
IEEE_1394_CONTROLLER
           
IO_DEVICE
           
IO_SLOT
           
ISCSI_HBA
           
LOGICAL_DISK
           
MEMORY
           
OTHER
           
OTHER_NETWORK_ADAPTER
           
OTHER_STORAGE_DEVICE
           
PARALLEL_PORT
           
PARALLEL_SCSI_HBA
           
PARTITIONABLE_UNIT
           
POWER
           
PROCESSOR
           
SERIAL_PORT
           
STORAGE_EXTENT
           
STORAGE_VOLUME
           
TAPE_DRIVE
           
USB_CONTROLLER
           
VENDOR_RESERVED
           
 
Field Summary
protected  int code
           
protected static Map<Integer,ResourceAllocationSettingData.ResourceType> RESOURCE_TYPE_BY_ID
           
 
Method Summary
static ResourceAllocationSettingData.ResourceType fromValue(String type)
           
 String value()
           
static ResourceAllocationSettingData.ResourceType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResourceAllocationSettingData.ResourceType[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OTHER

public static final ResourceAllocationSettingData.ResourceType OTHER

COMPUTER_SYSTEM

public static final ResourceAllocationSettingData.ResourceType COMPUTER_SYSTEM

PROCESSOR

public static final ResourceAllocationSettingData.ResourceType PROCESSOR

MEMORY

public static final ResourceAllocationSettingData.ResourceType MEMORY

IDE_CONTROLLER

public static final ResourceAllocationSettingData.ResourceType IDE_CONTROLLER

PARALLEL_SCSI_HBA

public static final ResourceAllocationSettingData.ResourceType PARALLEL_SCSI_HBA

FC_HBA

public static final ResourceAllocationSettingData.ResourceType FC_HBA

ISCSI_HBA

public static final ResourceAllocationSettingData.ResourceType ISCSI_HBA

IB_HCA

public static final ResourceAllocationSettingData.ResourceType IB_HCA

ETHERNET_ADAPTER

public static final ResourceAllocationSettingData.ResourceType ETHERNET_ADAPTER

OTHER_NETWORK_ADAPTER

public static final ResourceAllocationSettingData.ResourceType OTHER_NETWORK_ADAPTER

IO_SLOT

public static final ResourceAllocationSettingData.ResourceType IO_SLOT

IO_DEVICE

public static final ResourceAllocationSettingData.ResourceType IO_DEVICE

FLOPPY_DRIVE

public static final ResourceAllocationSettingData.ResourceType FLOPPY_DRIVE

CD_DRIVE

public static final ResourceAllocationSettingData.ResourceType CD_DRIVE

DVD_DRIVE

public static final ResourceAllocationSettingData.ResourceType DVD_DRIVE

DISK_DRIVE

public static final ResourceAllocationSettingData.ResourceType DISK_DRIVE

TAPE_DRIVE

public static final ResourceAllocationSettingData.ResourceType TAPE_DRIVE

STORAGE_EXTENT

public static final ResourceAllocationSettingData.ResourceType STORAGE_EXTENT

OTHER_STORAGE_DEVICE

public static final ResourceAllocationSettingData.ResourceType OTHER_STORAGE_DEVICE

SERIAL_PORT

public static final ResourceAllocationSettingData.ResourceType SERIAL_PORT

PARALLEL_PORT

public static final ResourceAllocationSettingData.ResourceType PARALLEL_PORT

USB_CONTROLLER

public static final ResourceAllocationSettingData.ResourceType USB_CONTROLLER

GRAPHICS_CONTROLLER

public static final ResourceAllocationSettingData.ResourceType GRAPHICS_CONTROLLER

IEEE_1394_CONTROLLER

public static final ResourceAllocationSettingData.ResourceType IEEE_1394_CONTROLLER

PARTITIONABLE_UNIT

public static final ResourceAllocationSettingData.ResourceType PARTITIONABLE_UNIT

BASE_PARTITIONABLE_UNIT

public static final ResourceAllocationSettingData.ResourceType BASE_PARTITIONABLE_UNIT

POWER

public static final ResourceAllocationSettingData.ResourceType POWER

COOLING_CAPACITY

public static final ResourceAllocationSettingData.ResourceType COOLING_CAPACITY

ETHERNET_SWITCH_PORT

public static final ResourceAllocationSettingData.ResourceType ETHERNET_SWITCH_PORT

LOGICAL_DISK

public static final ResourceAllocationSettingData.ResourceType LOGICAL_DISK

STORAGE_VOLUME

public static final ResourceAllocationSettingData.ResourceType STORAGE_VOLUME

ETHERNET_CONNECTION

public static final ResourceAllocationSettingData.ResourceType ETHERNET_CONNECTION

DMTF_RESERVED

public static final ResourceAllocationSettingData.ResourceType DMTF_RESERVED

VENDOR_RESERVED

public static final ResourceAllocationSettingData.ResourceType VENDOR_RESERVED
Field Detail

code

protected final int code

RESOURCE_TYPE_BY_ID

protected static final Map<Integer,ResourceAllocationSettingData.ResourceType> RESOURCE_TYPE_BY_ID
Method Detail

values

public static ResourceAllocationSettingData.ResourceType[] 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 (ResourceAllocationSettingData.ResourceType c : ResourceAllocationSettingData.ResourceType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ResourceAllocationSettingData.ResourceType 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

value

public String value()

fromValue

public static ResourceAllocationSettingData.ResourceType fromValue(String type)


Copyright © 2009-2011 jclouds. All Rights Reserved.