public enum OsFamily extends Enum<OsFamily>
Enum Constant and Description |
---|
UNIX
All Unix and Unix-like operating systems
|
WINDOWS
All versions of Microsoft Windows
|
Modifier and Type | Method and Description |
---|---|
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 WINDOWS
public static final OsFamily UNIX
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 nullCopyright © 2009-2012 jclouds. All Rights Reserved.