public static enum RuntimeUtils.OSType extends java.lang.Enum<RuntimeUtils.OSType>
| Enum Constant and Description |
|---|
LINUX
GNU/Linux
|
MAC_OS_X
Mac OS X
|
OTHER
Other OS
|
WINDOWS
Microsoft Windows
|
| Modifier and Type | Method and Description |
|---|---|
static RuntimeUtils.OSType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeUtils.OSType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeUtils.OSType LINUX
public static final RuntimeUtils.OSType MAC_OS_X
public static final RuntimeUtils.OSType WINDOWS
public static final RuntimeUtils.OSType OTHER
public static RuntimeUtils.OSType[] values()
for (RuntimeUtils.OSType c : RuntimeUtils.OSType.values()) System.out.println(c);
public static RuntimeUtils.OSType 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