public enum VmAffinity extends Enum<VmAffinity>
Enum Constant and Description |
---|
MIGRATABLE |
PINNED |
USER_MIGRATABLE |
Modifier and Type | Method and Description |
---|---|
static VmAffinity |
fromValue(String value) |
String |
value() |
static VmAffinity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VmAffinity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VmAffinity MIGRATABLE
public static final VmAffinity USER_MIGRATABLE
public static final VmAffinity PINNED
public static VmAffinity[] values()
for (VmAffinity c : VmAffinity.values()) System.out.println(c);
public static VmAffinity 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 VmAffinity fromValue(String value)
Copyright © 2012. All Rights Reserved.