public enum OSType extends Enum<OSType>
Enum Constant and Description |
---|
CENTOS
CentOS 32-bit
|
CENTOS_64
CentOS 64-bit
|
DEBIAN
Debian
|
DEBIAN_64
Debian 64-Bit
|
ECOMSTATION_32
eComStation 32-bitx
|
ESXI
VMware ESXi
|
FREEBSD
FreeBSD
|
FREEBSD_64
FreeBSD 64-Bit
|
LINUX
LINUX
|
LINUX_2_4
Linux 2.4.x
|
LINUX_2_4_64
Linux 2.4.x 64-Bi
|
LINUX_2_6
Linux 2.6.x
|
LINUX_2_6_64
Linux 2.6.x 64-Bit
|
LINUX_64
Linux 64-Bit
|
MACOS
MACOS
|
MANDRIVA
Mandriva
|
MANDRIVA_64
Mandriva 64-Bit
|
NETBSD
NetBSD
|
NOT_APPLICABLE
Not Applicable
|
NOVELL_OES
Novell OES
|
OPENBSD
OpenBSD
|
ORACLE_ENTERPRISE_LINUX
Oracle Enterprise Linux 32-bit
|
ORACLE_ENTERPRISE_LINUX_64
Oracle Enterprise Linux 64-bit
|
OTHER
Other
|
OTHER_64
Other 64-Bit
|
RHEL
RedHat Enterprise Linux
|
RHEL_64
RedHat Enterprise Linux 64-Bit
|
SLES
SLES
|
SLES_64
SLES 64-Bit
|
SOLARIS
Solaris
|
SOLARIS_64
Solaris 64-Bit
|
SUSE
SUSE
|
SUSE_64
SUSE 64-Bit
|
TURBOLINUX
TurboLinux
|
TURBOLINUX_64
TurboLinux 64-Bit
|
UBUNTU
Ubuntu
|
UBUNTU_64
Ubuntu 64-Bit
|
UNRECOGNIZED |
WINDOWS_7
Microsoft Windows 7
|
WINDOWS_SERVER_2003
Microsoft Windows Server 2003
|
WINDOWS_SERVER_2003_64
Microsoft Windows Server 2003 64-Bit
|
WINDOWS_SERVER_2008
Microsoft Windows Server 2008
|
WINDOWS_SERVER_2008_64
Microsoft Windows Server 2008 64-Bit
|
WINDOWS_SERVER_2008_R2
Microsoft Windows Server 2008 R2
|
Modifier and Type | Method and Description |
---|---|
static OSType |
fromValue(int code) |
int |
getCode() |
OsFamily |
getFamily() |
String |
getValue() |
boolean |
is64Bit() |
static OSType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OSType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OSType OTHER
public static final OSType MACOS
public static final OSType SOLARIS
public static final OSType LINUX
public static final OSType FREEBSD
public static final OSType NETBSD
public static final OSType OPENBSD
public static final OSType NOT_APPLICABLE
public static final OSType WINDOWS_SERVER_2003
public static final OSType WINDOWS_SERVER_2003_64
public static final OSType WINDOWS_SERVER_2008
public static final OSType WINDOWS_SERVER_2008_64
public static final OSType FREEBSD_64
public static final OSType RHEL
public static final OSType RHEL_64
public static final OSType SOLARIS_64
public static final OSType SUSE
public static final OSType SUSE_64
public static final OSType SLES
public static final OSType SLES_64
public static final OSType NOVELL_OES
public static final OSType MANDRIVA
public static final OSType MANDRIVA_64
public static final OSType TURBOLINUX
public static final OSType TURBOLINUX_64
public static final OSType UBUNTU
public static final OSType UBUNTU_64
public static final OSType DEBIAN
public static final OSType DEBIAN_64
public static final OSType LINUX_2_4
public static final OSType LINUX_2_4_64
public static final OSType LINUX_2_6
public static final OSType LINUX_2_6_64
public static final OSType LINUX_64
public static final OSType OTHER_64
public static final OSType WINDOWS_SERVER_2008_R2
public static final OSType ESXI
public static final OSType WINDOWS_7
public static final OSType CENTOS
public static final OSType CENTOS_64
public static final OSType ORACLE_ENTERPRISE_LINUX
public static final OSType ORACLE_ENTERPRISE_LINUX_64
public static final OSType ECOMSTATION_32
public static final OSType UNRECOGNIZED
public static OSType[] values()
for (OSType c : OSType.values()) System.out.println(c);
public static OSType 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 int getCode()
public String getValue()
public OsFamily getFamily()
public boolean is64Bit()
public static OSType fromValue(int code)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.