public static enum Executable.OS extends java.lang.Enum<Executable.OS>
Enum Constant and Description |
---|
aix |
AIX |
linux |
LINUX |
macosx |
MACOSX |
sunos |
SUNOS |
windows |
WINDOWS |
Modifier and Type | Method and Description |
---|---|
static Executable.OS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Executable.OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Executable.OS LINUX
public static final Executable.OS linux
public static final Executable.OS SUNOS
public static final Executable.OS sunos
public static final Executable.OS AIX
public static final Executable.OS aix
public static final Executable.OS MACOSX
public static final Executable.OS macosx
public static final Executable.OS WINDOWS
public static final Executable.OS windows
public static Executable.OS[] values()
for (Executable.OS c : Executable.OS.values()) System.out.println(c);
public static Executable.OS valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null