org.jclouds.compute.domain
Enum OsFamily

java.lang.Object
  extended by java.lang.Enum<OsFamily>
      extended by org.jclouds.compute.domain.OsFamily
All Implemented Interfaces:
Serializable, Comparable<OsFamily>

public enum OsFamily
extends Enum<OsFamily>

Running Operating system

Author:
Adrian Cole

Enum Constant Summary
AIX
           
AMZN_LINUX
           
ARCH
           
CENTOS
           
DARWIN
           
DEBIAN
           
ESX
           
FEDORA
           
FREEBSD
           
GENTOO
           
HPUX
           
LINUX
           
MANDRIVA
           
NETBSD
           
OEL
          Oracle Enterprise Linux
OPENBSD
           
RHEL
           
SCIENTIFIC
          Scientific Linux
SIGAR
           
SLACKWARE
           
SOLARIS
           
SUSE
           
TURBOLINUX
           
UBUNTU
           
UNRECOGNIZED
           
WINDOWS
           
 
Method Summary
static OsFamily fromValue(String osFamily)
           
 String toString()
           
 String value()
           
static OsFamily valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OsFamily[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNRECOGNIZED

public static final OsFamily UNRECOGNIZED

AIX

public static final OsFamily AIX

ARCH

public static final OsFamily ARCH

CENTOS

public static final OsFamily CENTOS

DARWIN

public static final OsFamily DARWIN

DEBIAN

public static final OsFamily DEBIAN

ESX

public static final OsFamily ESX

FEDORA

public static final OsFamily FEDORA

FREEBSD

public static final OsFamily FREEBSD

GENTOO

public static final OsFamily GENTOO

HPUX

public static final OsFamily HPUX

LINUX

public static final OsFamily LINUX

AMZN_LINUX

public static final OsFamily AMZN_LINUX
See Also:
amazon linux ami

MANDRIVA

public static final OsFamily MANDRIVA

NETBSD

public static final OsFamily NETBSD

OEL

public static final OsFamily OEL
Oracle Enterprise Linux


OPENBSD

public static final OsFamily OPENBSD

RHEL

public static final OsFamily RHEL

SCIENTIFIC

public static final OsFamily SCIENTIFIC
Scientific Linux


SIGAR

public static final OsFamily SIGAR

SLACKWARE

public static final OsFamily SLACKWARE

SOLARIS

public static final OsFamily SOLARIS

SUSE

public static final OsFamily SUSE

TURBOLINUX

public static final OsFamily TURBOLINUX

UBUNTU

public static final OsFamily UBUNTU

WINDOWS

public static final OsFamily WINDOWS
Method Detail

values

public static OsFamily[] 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 (OsFamily c : OsFamily.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OsFamily 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

value

public String value()

toString

public String toString()
Overrides:
toString in class Enum<OsFamily>

fromValue

public static OsFamily fromValue(String osFamily)


Copyright © 2009-2012 jclouds. All Rights Reserved.