com.kenai.jaffl

Class Platform.OS

public static class Platform.OS extends Enum<Platform.OS>

The common names of operating systems. Note The names of the enum values are used in other parts of the code to determine where to find the native stub library. Do not rename.
Field Summary
static Platform.OSAIX
IBM AIX
static Platform.OSDARWIN
MacOSX
static Platform.OSFREEBSD
FreeBSD
static Platform.OSLINUX
Linux
static Platform.OSNETBSD
NetBSD
static Platform.OSOPENBSD
OpenBSD
static Platform.OSSOLARIS
Solaris (and OpenSolaris)
static Platform.OSUNKNOWN
No idea what the operating system is
static List<Platform.OS>VALUES
An immutable list containing the values comprising this enum class in the order they're declared.
static Platform.OSWINDOWS
The evil borg operating system
static Platform.OSZLINUX
IBM zOS *
Method Summary
List<Platform.OS>family()
Returns an immutable list containing the values comprising this enum class in the order they're declared.
static Platform.OSvalueOf(String name)
Static factory to return the enum constant pertaining to the given string name.

Field Detail

AIX

public static final Platform.OS AIX
IBM AIX

DARWIN

public static final Platform.OS DARWIN
MacOSX

FREEBSD

public static final Platform.OS FREEBSD
FreeBSD

LINUX

public static final Platform.OS LINUX
Linux

NETBSD

public static final Platform.OS NETBSD
NetBSD

OPENBSD

public static final Platform.OS OPENBSD
OpenBSD

SOLARIS

public static final Platform.OS SOLARIS
Solaris (and OpenSolaris)

UNKNOWN

public static final Platform.OS UNKNOWN
No idea what the operating system is

VALUES

public static final List<Platform.OS> VALUES
An immutable list containing the values comprising this enum class in the order they're declared. This field may be used to iterate over the constants as follows:
for(OS c : OS.VALUES)
    System.out.println(c);

WINDOWS

public static final Platform.OS WINDOWS
The evil borg operating system

ZLINUX

public static final Platform.OS ZLINUX
IBM zOS *

Method Detail

family

public final List<Platform.OS> family()
Returns an immutable list containing the values comprising this enum class in the order they're declared. This instance method simply returns VALUES. Few programmers should have any need to use this method. It is provided for use by sophisticated enum-based data structures to prevent the need for reflective access to VALUES.

Returns: an immutable list containing the values comprising this enum class, in the order they're declared.

valueOf

public static final Platform.OS valueOf(String name)
Static factory to return the enum constant pertaining to the given string name. The string must match exactly an identifier used to declare an enum constant in this type.

Throws: IllegalArgumentException if this enum class has no constant with the specified name.