Package oshi.driver.windows.wmi
Enum Win32OperatingSystem.OSVersionProperty
- java.lang.Object
-
- java.lang.Enum<Win32OperatingSystem.OSVersionProperty>
-
- oshi.driver.windows.wmi.Win32OperatingSystem.OSVersionProperty
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Win32OperatingSystem.OSVersionProperty>
- Enclosing class:
- Win32OperatingSystem
public static enum Win32OperatingSystem.OSVersionProperty extends java.lang.Enum<Win32OperatingSystem.OSVersionProperty>
Operating System properties
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILDNUMBER
CSDVERSION
PRODUCTTYPE
SUITEMASK
VERSION
-
Constructor Summary
Constructors Modifier Constructor Description private
OSVersionProperty()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Win32OperatingSystem.OSVersionProperty
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Win32OperatingSystem.OSVersionProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERSION
public static final Win32OperatingSystem.OSVersionProperty VERSION
-
PRODUCTTYPE
public static final Win32OperatingSystem.OSVersionProperty PRODUCTTYPE
-
BUILDNUMBER
public static final Win32OperatingSystem.OSVersionProperty BUILDNUMBER
-
CSDVERSION
public static final Win32OperatingSystem.OSVersionProperty CSDVERSION
-
SUITEMASK
public static final Win32OperatingSystem.OSVersionProperty SUITEMASK
-
-
Method Detail
-
values
public static Win32OperatingSystem.OSVersionProperty[] 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 (Win32OperatingSystem.OSVersionProperty c : Win32OperatingSystem.OSVersionProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Win32OperatingSystem.OSVersionProperty valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-