Enum OsType

  • All Implemented Interfaces:
    Serializable, Comparable<OsType>

    public enum OsType
    extends Enum<OsType>
    Type representing kind of operating system. WARNING: This type has been deprecated with the introduction of the <> type. Operating systems are available as a top-level collection in the API: <> The end-user declares the type of the operating system installed in the virtual machine (guest operating system) by selecting one of these values. This declaration enables the system to tune the virtual machine configuration for better user experience. For example, the system chooses devices that are most suitable for the operating system. Note that the system rely on user's selection and does not verify it by inspecting the actual guest operating system installed.
    • Enum Constant Detail

      • OTHER

        public static final OsType OTHER
        Other type of operating system, not specified by the other values.
      • OTHER_LINUX

        public static final OsType OTHER_LINUX
        Distribution of Linux other than those specified by the other values.
      • RHEL_3

        public static final OsType RHEL_3
        Red Hat Enterprise Linux 3 32-bit.
      • RHEL_3X64

        public static final OsType RHEL_3X64
        Red Hat Enterprise Linux 3 64-bit.
      • RHEL_4

        public static final OsType RHEL_4
        Red Hat Enterprise Linux 4 32-bit.
      • RHEL_4X64

        public static final OsType RHEL_4X64
        Red Hat Enterprise Linux 4 64-bit.
      • RHEL_5

        public static final OsType RHEL_5
        Red Hat Enterprise Linux 5 32-bit.
      • RHEL_5X64

        public static final OsType RHEL_5X64
        Red Hat Enterprise Linux 5 64-bit.
      • RHEL_6

        public static final OsType RHEL_6
        Red Hat Enterprise Linux 6 32-bit.
      • RHEL_6X64

        public static final OsType RHEL_6X64
        Red Hat Enterprise Linux 6 64-bit.
      • UNASSIGNED

        public static final OsType UNASSIGNED
        This value is mapped to `other`.
      • WINDOWS_2003

        public static final OsType WINDOWS_2003
        Windows 2003 32-bit.
      • WINDOWS_2003X64

        public static final OsType WINDOWS_2003X64
        Windows 2003 64-bit.
      • WINDOWS_2008

        public static final OsType WINDOWS_2008
        Windows 2008 32-bit.
      • WINDOWS_2008R2X64

        public static final OsType WINDOWS_2008R2X64
        Windows 2008 R2 64-bit.
      • WINDOWS_2008X64

        public static final OsType WINDOWS_2008X64
        Windows 2008 64-bit.
      • WINDOWS_2012X64

        public static final OsType WINDOWS_2012X64
        Windows 2012 64-bit.
      • WINDOWS_7

        public static final OsType WINDOWS_7
        Windows 7 32-bit.
      • WINDOWS_7X64

        public static final OsType WINDOWS_7X64
        Windows 7 64-bit.
      • WINDOWS_8

        public static final OsType WINDOWS_8
        Windows 8 32-bit.
      • WINDOWS_8X64

        public static final OsType WINDOWS_8X64
        Windows 8 64-bit.
      • WINDOWS_XP

        public static final OsType WINDOWS_XP
        Windows XP.
    • Method Detail

      • values

        public static OsType[] 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 (OsType c : OsType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OsType 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 name
        NullPointerException - if the argument is null
      • value

        public String value()
      • fromValue

        public static OsType fromValue​(String value)