com.xensource.xenapi
public static enum Types.LivepatchStatus extends java.lang.Enum<Types.LivepatchStatus>
Enum Constant and Description |
---|
OK
There is no applicable live patch
|
OK_LIVEPATCH_COMPLETE
An applicable live patch exists for every required component
|
OK_LIVEPATCH_INCOMPLETE
An applicable live patch exists but it is not sufficient
|
UNRECOGNIZED
The value does not belong to this enumeration
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Types.LivepatchStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Types.LivepatchStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.LivepatchStatus UNRECOGNIZED
public static final Types.LivepatchStatus OK_LIVEPATCH_COMPLETE
public static final Types.LivepatchStatus OK_LIVEPATCH_INCOMPLETE
public static final Types.LivepatchStatus OK
public static Types.LivepatchStatus[] values()
for (Types.LivepatchStatus c : Types.LivepatchStatus.values()) System.out.println(c);
public static Types.LivepatchStatus 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 java.lang.String toString()
toString
in class java.lang.Enum<Types.LivepatchStatus>