Package org.ovirt.engine.sdk4.types
Enum WatchdogModel
- java.lang.Object
-
- java.lang.Enum<WatchdogModel>
-
- org.ovirt.engine.sdk4.types.WatchdogModel
-
- All Implemented Interfaces:
Serializable
,Comparable<WatchdogModel>
public enum WatchdogModel extends Enum<WatchdogModel>
This type represents the watchdog model.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WatchdogModel
fromValue(String value)
String
value()
static WatchdogModel
valueOf(String name)
Returns the enum constant of this type with the specified name.static WatchdogModel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIAG288
public static final WatchdogModel DIAG288
The watchdog model for S390X machines. S390X has an integrated watchdog facility that is controlled via the DIAG288 instruction. Use this model for S390X virtual machines.
-
I6300ESB
public static final WatchdogModel I6300ESB
PCI based watchdog model. Use the I6300ESB watchdog for x86_64 and PPC64 virtual machines.
-
-
Method Detail
-
values
public static WatchdogModel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WatchdogModel c : WatchdogModel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WatchdogModel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static WatchdogModel fromValue(String value)
-
-