Package org.ovirt.engine.sdk4.types
Enum ConfigurationType
- java.lang.Object
-
- java.lang.Enum<ConfigurationType>
-
- org.ovirt.engine.sdk4.types.ConfigurationType
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfigurationType>
public enum ConfigurationType extends Enum<ConfigurationType>
Configuration format types.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigurationType
fromValue(String value)
String
value()
static ConfigurationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConfigurationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVA
public static final ConfigurationType OVA
ConfigurationType of type standard OVF. The provided virtual machine configuration conforms with the Open Virtualization Format (OVF) standard. This value should be used for an OVF configuration that is extracted from an Open Virtual Appliance (OVA) that was generated by oVirt or by other vendors. See https://www.dmtf.org/standards/ovf[here] for the OVF specification.
-
OVF
public static final ConfigurationType OVF
ConfigurationType of type oVirt-compatible OVF. The provided virtual machine configuration conforms with the oVirt-compatible form of the Open Virtualization Format (OVF). Note that the oVirt-compatible form of the OVF may differ from the OVF standard that is used by other vendors. This value should be used for an OVF configuration that is taken from a storage domain.
-
-
Method Detail
-
values
public static ConfigurationType[] 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 (ConfigurationType c : ConfigurationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigurationType 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 ConfigurationType fromValue(String value)
-
-