public enum RunMode extends Enum<RunMode>
Enum Constant and Description |
---|
ClassPath
java -classpath
|
Dsl
自定义项目管理
|
File
纯文件管理
|
Jar
java -jar
|
JarWar
java -jar Springboot war
|
JavaExtDirsCp
java -Djava.ext.dirs=lib -cp conf:run.jar $MAIN_CLASS
|
Modifier and Type | Method and Description |
---|---|
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 ClassPath
public static final RunMode Jar
public static final RunMode JarWar
public static final RunMode JavaExtDirsCp
public static final RunMode File
public static final RunMode Dsl
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 nullCopyright © 2017–2022. All rights reserved.