public static enum ServerPackCreator.Mode extends java.lang.Enum<ServerPackCreator.Mode>
| Enum Constant and Description |
|---|
CGEN
Priority 2
|
CLI
Priority 3
|
EXIT
Priority 7
|
GUI
Priority 5
|
HELP
Priority 0
|
LANG
Used when the user wants to change the language of ServerPackCreator.
|
SETUP
Priority 6
|
UPDATE
Priority 1
|
WEB
Priority 4
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.lang.String |
argument()
Textual representation of this mode.
|
static ServerPackCreator.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServerPackCreator.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerPackCreator.Mode HELP
Print ServerPackCreators help to commandline.
public static final ServerPackCreator.Mode UPDATE
Check whether a newer version of ServerPackCreator is available.
public static final ServerPackCreator.Mode CGEN
Run ServerPackCreators configuration generation.
public static final ServerPackCreator.Mode CLI
Run ServerPackCreator in commandline-mode. If no graphical environment is supported, this is the default ServerPackCreator will enter, even when starting ServerPackCreator with no extra arguments at all.
public static final ServerPackCreator.Mode WEB
Run ServerPackCreator as a webservice.
public static final ServerPackCreator.Mode GUI
Run ServerPackCreator with our GUI. If a graphical environment is supported, this is the default ServerPackCreator will enter, even when starting ServerPackCreator with no extra arguments at all.
public static final ServerPackCreator.Mode SETUP
Set up and prepare the environment for subsequent runs of ServerPackCreator. This will create/copy all files needed for ServerPackCreator to function properly from inside its JAR-file and setup everything else, too.
The --setup-argument also allows a user to specify a properties-file to load
into ApplicationProperties. Values are loaded from the specified file and
subsequently stored in the local serverpackcreator.properties-file inside
ServerPackCreators home-directory.
public static final ServerPackCreator.Mode EXIT
Exit ServerPackCreator.
public static final ServerPackCreator.Mode LANG
public static ServerPackCreator.Mode[] values()
for (ServerPackCreator.Mode c : ServerPackCreator.Mode.values()) System.out.println(c);
public static ServerPackCreator.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@NotNull public @NotNull java.lang.String argument()