public static enum Tools.Platform extends java.lang.Enum<Tools.Platform>
| Modifier and Type | Method and Description |
|---|---|
static Tools.Platform |
getPlatform()
Gets currently used platform.
|
static Tools.Platform |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tools.Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tools.Platform LINUX
public static final Tools.Platform WINDOWS
public static final Tools.Platform MAC
public static final Tools.Platform SOLARIS
public static Tools.Platform[] values()
for (Tools.Platform c : Tools.Platform.values()) System.out.println(c);
public static Tools.Platform 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 Tools.Platform getPlatform()