public enum OsFamily extends Enum<OsFamily>
Enum Constant and Description |
---|
AIX |
AMZN_LINUX |
ARCH |
CENTOS |
CLOUD_LINUX |
COREOS |
DARWIN |
DEBIAN |
ESX |
FEDORA |
FREEBSD |
GCEL
Google Compute Engine Linux
|
GENTOO |
HPUX |
LINUX |
MANDRIVA |
NETBSD |
OEL
Oracle Enterprise Linux
|
OPENBSD |
RHEL |
SCIENTIFIC
Scientific Linux
|
SIGAR |
SLACKWARE |
SMARTOS |
SOLARIS |
SUSE |
TURBOLINUX |
UBUNTU |
UNRECOGNIZED |
WINDOWS |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final OsFamily UNRECOGNIZED
public static final OsFamily AIX
public static final OsFamily ARCH
public static final OsFamily CENTOS
public static final OsFamily DARWIN
public static final OsFamily DEBIAN
public static final OsFamily ESX
public static final OsFamily FEDORA
public static final OsFamily FREEBSD
public static final OsFamily GENTOO
public static final OsFamily HPUX
public static final OsFamily LINUX
public static final OsFamily COREOS
public static final OsFamily AMZN_LINUX
public static final OsFamily MANDRIVA
public static final OsFamily NETBSD
public static final OsFamily OEL
public static final OsFamily OPENBSD
public static final OsFamily RHEL
public static final OsFamily SCIENTIFIC
public static final OsFamily GCEL
public static final OsFamily SIGAR
public static final OsFamily SLACKWARE
public static final OsFamily SOLARIS
public static final OsFamily SUSE
public static final OsFamily TURBOLINUX
public static final OsFamily CLOUD_LINUX
public static final OsFamily UBUNTU
public static final OsFamily WINDOWS
public static OsFamily[] values()
for (OsFamily c : OsFamily.values()) System.out.println(c);
public static OsFamily 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 value()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.