Package com.jgcomptech.tools.enums
Enum VERSuite
- java.lang.Object
-
- java.lang.Enum<VERSuite>
-
- com.jgcomptech.tools.enums.VERSuite
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VERSuite>
public enum VERSuite extends java.lang.Enum<VERSuite>
A list of WindowsVersion Suite Masks according to Microsoft Documentation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Blade
Blade.ComputeServer
ComputeServer.Datacenter
Datacenter.EmbeddedNT
EmbeddedNT.Enterprise
Enterprise.Personal
Personal.StorageServer
StorageServer.Unknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static VERSuite
parse(int value)
static java.util.List<VERSuite>
parse(com.sun.jna.platform.win32.WinDef.WORD value)
java.lang.String
toString()
static VERSuite
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VERSuite[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final VERSuite Unknown
-
Enterprise
public static final VERSuite Enterprise
Enterprise.
-
EmbeddedNT
public static final VERSuite EmbeddedNT
EmbeddedNT.
-
Datacenter
public static final VERSuite Datacenter
Datacenter.
-
Personal
public static final VERSuite Personal
Personal.
-
Blade
public static final VERSuite Blade
Blade.
-
StorageServer
public static final VERSuite StorageServer
StorageServer.
-
ComputeServer
public static final VERSuite ComputeServer
ComputeServer.
-
-
Method Detail
-
values
public static VERSuite[] 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 (VERSuite c : VERSuite.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VERSuite 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
-
parse
public static java.util.List<VERSuite> parse(com.sun.jna.platform.win32.WinDef.WORD value)
-
parse
public static VERSuite parse(int value)
-
getValue
public int getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<VERSuite>
-
-