Package com.jgcomptech.tools.enums
Enum OSList
- java.lang.Object
-
- java.lang.Enum<OSList>
-
- com.jgcomptech.tools.enums.OSList
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Linux
Linux.MacOSX
Mac OSX.Solaris
Solaris.Unknown
Unknown OS.Windows10
Windows 10.Windows2000AndPrevious
Windows 95/98, NT4.0, 2000.Windows2003
Windows 2003 Server.Windows2003R2
Windows 2003 R2 Server.Windows2008
Windows 2008 Server.Windows2008R2
Windows 2008 R2 Server.Windows2012
Windows 2012 Server.Windows2012R2
Windows 2012 R2 Server.Windows2016
Windows 2016 Server.Windows7
Windows 7.Windows8
Windows 8.Windows81
Windows 8.WindowsVista
Windows Vista.WindowsXP
Windows XP x86.WindowsXP64
Windows XP x64.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OSList
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OSList[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final OSList Unknown
Unknown OS.
-
MacOSX
public static final OSList MacOSX
Mac OSX.
-
Linux
public static final OSList Linux
Linux.
-
Solaris
public static final OSList Solaris
Solaris.
-
Windows2000AndPrevious
public static final OSList Windows2000AndPrevious
Windows 95/98, NT4.0, 2000.
-
WindowsXP
public static final OSList WindowsXP
Windows XP x86.
-
WindowsXP64
public static final OSList WindowsXP64
Windows XP x64.
-
WindowsVista
public static final OSList WindowsVista
Windows Vista.
-
Windows7
public static final OSList Windows7
Windows 7.
-
Windows8
public static final OSList Windows8
Windows 8.
-
Windows81
public static final OSList Windows81
Windows 8.
-
Windows10
public static final OSList Windows10
Windows 10.
-
Windows2003
public static final OSList Windows2003
Windows 2003 Server.
-
Windows2003R2
public static final OSList Windows2003R2
Windows 2003 R2 Server.
-
Windows2008
public static final OSList Windows2008
Windows 2008 Server.
-
Windows2008R2
public static final OSList Windows2008R2
Windows 2008 R2 Server.
-
Windows2012
public static final OSList Windows2012
Windows 2012 Server.
-
Windows2012R2
public static final OSList Windows2012R2
Windows 2012 R2 Server.
-
Windows2016
public static final OSList Windows2016
Windows 2016 Server.
-
-
Method Detail
-
values
public static OSList[] 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 (OSList c : OSList.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OSList 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
-
-