org.jclouds.cim
Enum OSType

java.lang.Object
  extended by java.lang.Enum<OSType>
      extended by org.jclouds.cim.OSType
All Implemented Interfaces:
Serializable, Comparable<OSType>

public enum OSType
extends Enum<OSType>

Operating system based on DMTF CIM model.

Author:
Adrian Cole
See Also:

Enum Constant Summary
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
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - 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)


Copyright © 2009-2011 jclouds. All Rights Reserved.