public enum CPUCompareResult extends java.lang.Enum<CPUCompareResult>
| Enum Constant and Description |
|---|
VIR_CPU_COMPARE_ERROR |
VIR_CPU_COMPARE_IDENTICAL |
VIR_CPU_COMPARE_INCOMPATIBLE |
VIR_CPU_COMPARE_SUPERSET |
| Modifier and Type | Method and Description |
|---|---|
static CPUCompareResult |
get(int value) |
int |
getReturnCode() |
static CPUCompareResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CPUCompareResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPUCompareResult VIR_CPU_COMPARE_ERROR
public static final CPUCompareResult VIR_CPU_COMPARE_INCOMPATIBLE
public static final CPUCompareResult VIR_CPU_COMPARE_IDENTICAL
public static final CPUCompareResult VIR_CPU_COMPARE_SUPERSET
public static CPUCompareResult[] values()
for (CPUCompareResult c : CPUCompareResult.values()) System.out.println(c);
public static CPUCompareResult valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic static CPUCompareResult get(int value)
public int getReturnCode()