Package org.jclouds.cim
Enum OSType
- java.lang.Object
-
- java.lang.Enum<OSType>
-
- org.jclouds.cim.OSType
-
- All Implemented Interfaces:
Serializable
,Comparable<OSType>
public enum OSType extends Enum<OSType>
Operating system based on DMTF CIM model.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CENTOS
CentOS 32-bitCENTOS_64
CentOS 64-bitDEBIAN
DebianDEBIAN_64
Debian 64-BitECOMSTATION_32
eComStation 32-bitxESXI
VMware ESXiFREEBSD
FreeBSDFREEBSD_64
FreeBSD 64-BitLINUX
LINUXLINUX_2_4
Linux 2.4.xLINUX_2_4_64
Linux 2.4.x 64-BiLINUX_2_6
Linux 2.6.xLINUX_2_6_64
Linux 2.6.x 64-BitLINUX_64
Linux 64-BitMACOS
MACOSMANDRIVA
MandrivaMANDRIVA_64
Mandriva 64-BitNETBSD
NetBSDNOT_APPLICABLE
Not ApplicableNOVELL_OES
Novell OESOPENBSD
OpenBSDORACLE_ENTERPRISE_LINUX
Oracle Enterprise Linux 32-bitORACLE_ENTERPRISE_LINUX_64
Oracle Enterprise Linux 64-bitOTHER
OtherOTHER_64
Other 64-BitRHEL
RedHat Enterprise LinuxRHEL_64
RedHat Enterprise Linux 64-BitSLES
SLESSLES_64
SLES 64-BitSOLARIS
SolarisSOLARIS_64
Solaris 64-BitSUSE
SUSESUSE_64
SUSE 64-BitTURBOLINUX
TurboLinuxTURBOLINUX_64
TurboLinux 64-BitUBUNTU
UbuntuUBUNTU_64
Ubuntu 64-BitUNRECOGNIZED
WINDOWS_7
Microsoft Windows 7WINDOWS_SERVER_2003
Microsoft Windows Server 2003WINDOWS_SERVER_2003_64
Microsoft Windows Server 2003 64-BitWINDOWS_SERVER_2008
Microsoft Windows Server 2008WINDOWS_SERVER_2008_64
Microsoft Windows Server 2008 64-BitWINDOWS_SERVER_2008_R2
Microsoft Windows Server 2008 R2
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
OTHER
public static final OSType OTHER
Other
-
MACOS
public static final OSType MACOS
MACOS
-
SOLARIS
public static final OSType SOLARIS
Solaris
-
LINUX
public static final OSType LINUX
LINUX
-
FREEBSD
public static final OSType FREEBSD
FreeBSD
-
NETBSD
public static final OSType NETBSD
NetBSD
-
OPENBSD
public static final OSType OPENBSD
OpenBSD
-
NOT_APPLICABLE
public static final OSType NOT_APPLICABLE
Not Applicable
-
WINDOWS_SERVER_2003
public static final OSType WINDOWS_SERVER_2003
Microsoft Windows Server 2003
-
WINDOWS_SERVER_2003_64
public static final OSType WINDOWS_SERVER_2003_64
Microsoft Windows Server 2003 64-Bit
-
WINDOWS_SERVER_2008
public static final OSType WINDOWS_SERVER_2008
Microsoft Windows Server 2008
-
WINDOWS_SERVER_2008_64
public static final OSType WINDOWS_SERVER_2008_64
Microsoft Windows Server 2008 64-Bit
-
FREEBSD_64
public static final OSType FREEBSD_64
FreeBSD 64-Bit
-
RHEL
public static final OSType RHEL
RedHat Enterprise Linux
-
RHEL_64
public static final OSType RHEL_64
RedHat Enterprise Linux 64-Bit
-
SOLARIS_64
public static final OSType SOLARIS_64
Solaris 64-Bit
-
SUSE
public static final OSType SUSE
SUSE
-
SUSE_64
public static final OSType SUSE_64
SUSE 64-Bit
-
SLES
public static final OSType SLES
SLES
-
SLES_64
public static final OSType SLES_64
SLES 64-Bit
-
NOVELL_OES
public static final OSType NOVELL_OES
Novell OES
-
MANDRIVA
public static final OSType MANDRIVA
Mandriva
-
MANDRIVA_64
public static final OSType MANDRIVA_64
Mandriva 64-Bit
-
TURBOLINUX
public static final OSType TURBOLINUX
TurboLinux
-
TURBOLINUX_64
public static final OSType TURBOLINUX_64
TurboLinux 64-Bit
-
UBUNTU
public static final OSType UBUNTU
Ubuntu
-
UBUNTU_64
public static final OSType UBUNTU_64
Ubuntu 64-Bit
-
DEBIAN
public static final OSType DEBIAN
Debian
-
DEBIAN_64
public static final OSType DEBIAN_64
Debian 64-Bit
-
LINUX_2_4
public static final OSType LINUX_2_4
Linux 2.4.x
-
LINUX_2_4_64
public static final OSType LINUX_2_4_64
Linux 2.4.x 64-Bi
-
LINUX_2_6
public static final OSType LINUX_2_6
Linux 2.6.x
-
LINUX_2_6_64
public static final OSType LINUX_2_6_64
Linux 2.6.x 64-Bit
-
LINUX_64
public static final OSType LINUX_64
Linux 64-Bit
-
OTHER_64
public static final OSType OTHER_64
Other 64-Bit
-
WINDOWS_SERVER_2008_R2
public static final OSType WINDOWS_SERVER_2008_R2
Microsoft Windows Server 2008 R2
-
ESXI
public static final OSType ESXI
VMware ESXi
-
WINDOWS_7
public static final OSType WINDOWS_7
Microsoft Windows 7
-
CENTOS
public static final OSType CENTOS
CentOS 32-bit
-
CENTOS_64
public static final OSType CENTOS_64
CentOS 64-bit
-
ORACLE_ENTERPRISE_LINUX
public static final OSType ORACLE_ENTERPRISE_LINUX
Oracle Enterprise Linux 32-bit
-
ORACLE_ENTERPRISE_LINUX_64
public static final OSType ORACLE_ENTERPRISE_LINUX_64
Oracle Enterprise Linux 64-bit
-
ECOMSTATION_32
public static final OSType ECOMSTATION_32
eComStation 32-bitx
-
UNRECOGNIZED
public static final OSType UNRECOGNIZED
-
-
Method Detail
-
values
public static OSType[] 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 (OSType c : OSType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OSType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public int getCode()
-
getValue
public String getValue()
-
getFamily
public OsFamily getFamily()
-
is64Bit
public boolean is64Bit()
-
fromValue
public static OSType fromValue(int code)
-
-