public enum SimplifyMode extends Enum<SimplifyMode>
| Enum Constant and Description |
|---|
BOM
组件清单(特殊的DEPENDENCIES,只包含当前项目自己的组件)
|
DEPENDENCIES
管理依赖模块(特殊的POM)
|
JAR
普通的JAR包
|
MAVEN_PLUGIN
Maven插件
|
NONE
空模式,通过自定义配置来简化POM.
|
NOOP |
POM
普通的POM
|
SHADE
合并的JAR包
|
STARTER
启动器(可以是jar,也可以是pom)
|
WAR
普通的WAR包
|
| Modifier and Type | Method and Description |
|---|---|
static SimplifyMode |
getByModeStr(String modeStr)
根据字符串,获取枚举
|
static SimplifyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimplifyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimplifyMode NONE
public static final SimplifyMode NOOP
public static final SimplifyMode JAR
public static final SimplifyMode WAR
public static final SimplifyMode POM
public static final SimplifyMode MAVEN_PLUGIN
public static final SimplifyMode DEPENDENCIES
public static final SimplifyMode BOM
public static final SimplifyMode STARTER
public static final SimplifyMode SHADE
public static SimplifyMode[] values()
for (SimplifyMode c : SimplifyMode.values()) System.out.println(c);
public static SimplifyMode 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 null@Nullable public static SimplifyMode getByModeStr(String modeStr) throws IllegalArgumentException
modeStr - 模式字符串IllegalArgumentException - 参数错误Copyright © 2021–2023 EasyJ开源社区. All rights reserved.