public static enum ResourceAllocationSettingData.MappingBehavior extends Enum<ResourceAllocationSettingData.MappingBehavior>
Enum Constant and Description |
---|
DEDICATED |
DMTF_RESERVED |
HARD_AFFINITY |
NOT_SUPPORTED |
SOFT_AFFINITY |
UNKNOWN |
VENDOR_RESERVED |
Modifier and Type | Field and Description |
---|---|
protected int |
code |
protected static Map<Integer,ResourceAllocationSettingData.MappingBehavior> |
MAPPING_BEHAVIOR_BY_ID |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ResourceAllocationSettingData.MappingBehavior UNKNOWN
public static final ResourceAllocationSettingData.MappingBehavior NOT_SUPPORTED
public static final ResourceAllocationSettingData.MappingBehavior DEDICATED
public static final ResourceAllocationSettingData.MappingBehavior SOFT_AFFINITY
public static final ResourceAllocationSettingData.MappingBehavior HARD_AFFINITY
public static final ResourceAllocationSettingData.MappingBehavior DMTF_RESERVED
public static final ResourceAllocationSettingData.MappingBehavior VENDOR_RESERVED
protected final int code
protected static final Map<Integer,ResourceAllocationSettingData.MappingBehavior> MAPPING_BEHAVIOR_BY_ID
public static ResourceAllocationSettingData.MappingBehavior[] values()
for (ResourceAllocationSettingData.MappingBehavior c : ResourceAllocationSettingData.MappingBehavior.values()) System.out.println(c);
public static ResourceAllocationSettingData.MappingBehavior valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static ResourceAllocationSettingData.MappingBehavior fromValue(String behavior)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.