public static enum JVMHelper.OS extends java.lang.Enum<JVMHelper.OS>
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name |
| Modifier and Type | Method and Description |
|---|---|
static JVMHelper.OS |
byName(java.lang.String name) |
static JVMHelper.OS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JVMHelper.OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JVMHelper.OS MUSTDIE
public static final JVMHelper.OS LINUX
public static final JVMHelper.OS MACOSX
public static JVMHelper.OS[] values()
for (JVMHelper.OS c : JVMHelper.OS.values()) System.out.println(c);
public static JVMHelper.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 nullpublic static JVMHelper.OS byName(java.lang.String name)