public enum OperatingSystem extends Enum<OperatingSystem>
Enum Constant and Description |
---|
AIX |
AS_400 |
DIGITAL_UNIX |
FREEBSD |
HP_UX |
IRIX |
LINUX_OS |
MAC_OS |
MAC_OSX |
MPE_IX |
NETWARE |
OPENVMS |
OS_390 |
OSF1 |
SUN_OS |
WINDOWS_10 |
WINDOWS_11 |
WINDOWS_2000 |
WINDOWS_2003 |
WINDOWS_2008 |
WINDOWS_2012 |
WINDOWS_2016 |
WINDOWS_2019 |
WINDOWS_7 |
WINDOWS_95 |
WINDOWS_98 |
WINDOWS_GENERIC |
WINDOWS_ME |
WINDOWS_NT |
WINDOWS_XP |
zOS |
Modifier and Type | Method and Description |
---|---|
OperatingSystemFamily |
getFamily() |
String |
getLabel() |
static OperatingSystem |
resolve(String osName) |
static OperatingSystem |
resolveOrError(String osName) |
static OperatingSystem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatingSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatingSystem MAC_OSX
public static final OperatingSystem WINDOWS_95
public static final OperatingSystem WINDOWS_98
public static final OperatingSystem WINDOWS_ME
public static final OperatingSystem WINDOWS_NT
public static final OperatingSystem WINDOWS_2000
public static final OperatingSystem WINDOWS_XP
public static final OperatingSystem WINDOWS_7
public static final OperatingSystem WINDOWS_10
public static final OperatingSystem WINDOWS_11
public static final OperatingSystem WINDOWS_2003
public static final OperatingSystem WINDOWS_2008
public static final OperatingSystem WINDOWS_2012
public static final OperatingSystem WINDOWS_2016
public static final OperatingSystem WINDOWS_2019
public static final OperatingSystem SUN_OS
public static final OperatingSystem MPE_IX
public static final OperatingSystem HP_UX
public static final OperatingSystem AIX
public static final OperatingSystem OS_390
public static final OperatingSystem zOS
public static final OperatingSystem AS_400
public static final OperatingSystem FREEBSD
public static final OperatingSystem IRIX
public static final OperatingSystem DIGITAL_UNIX
public static final OperatingSystem NETWARE
public static final OperatingSystem OSF1
public static final OperatingSystem OPENVMS
public static final OperatingSystem WINDOWS_GENERIC
public static final OperatingSystem LINUX_OS
public static final OperatingSystem MAC_OS
public static OperatingSystem[] values()
for (OperatingSystem c : OperatingSystem.values()) System.out.println(c);
public static OperatingSystem valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getLabel()
public OperatingSystemFamily getFamily()
public static OperatingSystem resolve(String osName)
public static OperatingSystem resolveOrError(String osName)