public enum RunMode extends Enum<RunMode>
| Enum Constant and Description | 
|---|
| APPLET | 
| CUSTOM | 
| STANDALONE | 
| WEBSTART | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | KEYConstant used to resolve the runMode via System.getProperty(RunMode.KEY) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getName() | 
| static boolean | isSystemSet() | 
| static RunMode | resolveRunMode(String shortName)Returns the running mode for the given short name | 
| void | setName(String name) | 
| static RunMode | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static RunMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final RunMode STANDALONE
public static final RunMode WEBSTART
public static final RunMode APPLET
public static final RunMode CUSTOM
public static final String KEY
public static RunMode[] values()
for (RunMode c : RunMode.values()) System.out.println(c);
public static RunMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static boolean isSystemSet()
@Nullable public static RunMode resolveRunMode(@Nullable String shortName)
shortName - The short name