public enum HostMemPolicy extends Enum<HostMemPolicy>
QApiEnumDescriptor{name=HostMemPolicy, data=[default, preferred, bind, interleave], fields=null}
Enum Constant and Description |
---|
__UNKNOWN |
_default |
bind |
interleave |
preferred |
Modifier and Type | Method and Description |
---|---|
String |
getJsonValue() |
static HostMemPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostMemPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostMemPolicy _default
public static final HostMemPolicy preferred
public static final HostMemPolicy bind
public static final HostMemPolicy interleave
public static final HostMemPolicy __UNKNOWN
public static HostMemPolicy[] values()
for (HostMemPolicy c : HostMemPolicy.values()) System.out.println(c);
public static HostMemPolicy 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 getJsonValue()