public static enum CommandlineParser.Mode extends java.lang.Enum<CommandlineParser.Mode>
| Enum Constant and Description |
|---|
CGEN
Priority 2.
|
CLI
Priority 3.
|
EXIT
Priority 7.
|
GUI
Priority 5.
|
HELP
Priority 0.
|
SETUP
Priority 6
Set up and prepare the environment for subsequent runs of ServerPackCreator.
|
UPDATE
Priority 1.
|
WEB
Priority 4.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
mode |
| Modifier and Type | Method and Description |
|---|---|
static CommandlineParser.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandlineParser.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandlineParser.Mode HELP
public static final CommandlineParser.Mode UPDATE
public static final CommandlineParser.Mode CGEN
public static final CommandlineParser.Mode CLI
public static final CommandlineParser.Mode WEB
public static final CommandlineParser.Mode GUI
public static final CommandlineParser.Mode SETUP
public static final CommandlineParser.Mode EXIT
public static CommandlineParser.Mode[] values()
for (CommandlineParser.Mode c : CommandlineParser.Mode.values()) System.out.println(c);
public static CommandlineParser.Mode 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