org.jclouds.cim
Enum ResourceAllocationSettingData.MappingBehavior

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

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

Specifies how this resource maps to underlying resourcesIf the HostResource array contains any entries, this property reflects how the resource maps to those specific resources.


Enum Constant Summary
DEDICATED
           
DMTF_RESERVED
           
HARD_AFFINITY
           
NOT_SUPPORTED
           
SOFT_AFFINITY
           
UNKNOWN
           
VENDOR_RESERVED
           
 
Field Summary
protected  int code
           
protected static Map<Integer,ResourceAllocationSettingData.MappingBehavior> MAPPING_BEHAVIOR_BY_ID
           
 
Method Summary
static ResourceAllocationSettingData.MappingBehavior fromValue(String behavior)
           
 String value()
           
static ResourceAllocationSettingData.MappingBehavior valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResourceAllocationSettingData.MappingBehavior[] 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

UNKNOWN

public static final ResourceAllocationSettingData.MappingBehavior UNKNOWN

NOT_SUPPORTED

public static final ResourceAllocationSettingData.MappingBehavior NOT_SUPPORTED

DEDICATED

public static final ResourceAllocationSettingData.MappingBehavior DEDICATED

SOFT_AFFINITY

public static final ResourceAllocationSettingData.MappingBehavior SOFT_AFFINITY

HARD_AFFINITY

public static final ResourceAllocationSettingData.MappingBehavior HARD_AFFINITY

DMTF_RESERVED

public static final ResourceAllocationSettingData.MappingBehavior DMTF_RESERVED

VENDOR_RESERVED

public static final ResourceAllocationSettingData.MappingBehavior VENDOR_RESERVED
Field Detail

code

protected final int code

MAPPING_BEHAVIOR_BY_ID

protected static final Map<Integer,ResourceAllocationSettingData.MappingBehavior> MAPPING_BEHAVIOR_BY_ID
Method Detail

values

public static ResourceAllocationSettingData.MappingBehavior[] 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.MappingBehavior c : ResourceAllocationSettingData.MappingBehavior.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.MappingBehavior 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.MappingBehavior fromValue(String behavior)


Copyright © 2009-2012 jclouds. All Rights Reserved.