public class ReportPlugin extends ConfigurationContainer implements Serializable, Cloneable
<plugin>元素包含报告插件所需的信息。| 构造函数和描述 |
|---|
ReportPlugin() |
| 修饰符和类型 | 方法及说明 |
|---|---|
void |
addReportSet(ReportSet reportSet)
方法 addReportSet。
|
ReportPlugin |
clone()
方法克隆。
|
static String |
constructKey(String groupId,
String artifactId) |
void |
flushReportSetMap()
reportSetMap将字段重置为null |
String |
getArtifactId()
获取存储库中报告插件的工件 ID。
|
String |
getGroupId()
获取存储库中报告插件的组 ID。
|
String |
getKey() |
List<ReportSet> |
getReportSets()
方法 getReportSets。
|
Map<String,ReportSet> |
getReportSetsAsMap() |
String |
getVersion()
获取要使用的报告插件的版本。
|
void |
removeReportSet(ReportSet reportSet)
方法 removeReportSet。
|
void |
setArtifactId(String artifactId)
在存储库中设置报告插件的工件 ID。
|
void |
setGroupId(String groupId)
在存储库中设置报告插件的组 ID。
|
void |
setReportSets(List<ReportSet> reportSets)
设置一组报告的多个规范,每个都具有(可能)不同的配置。
|
void |
setVersion(String version)
设置要使用的报告插件的版本。
|
getConfiguration, getInherited, getLocation, isInheritanceApplied, isInherited, setConfiguration, setInherited, setInherited, setLocation, setOtherLocation, unsetInheritanceAppliedpublic void addReportSet(ReportSet reportSet)
reportSet-public ReportPlugin clone()
clone 在班上 ConfigurationContainerpublic String getArtifactId()
public String getGroupId()
public String getVersion()
build/pluginsthen in 中
搜索版本build/pluginManagement。public void removeReportSet(ReportSet reportSet)
reportSet-public void setArtifactId(String artifactId)
artifactId-public void setGroupId(String groupId)
groupId-public void setReportSets(List<ReportSet> reportSets)
execution这是与构建中的一个平行的报告。reportSets-public void setVersion(String version)
build/pluginsthen in 中
搜索版本build/pluginManagement。version-public void flushReportSetMap()
reportSetMap将字段重置为nullpublic Map<String,ReportSet> getReportSetsAsMap()
ReportSet#getId()as 键的 reportSets 字段的 MapReportSet.getId()public String getKey()
groupId:artifactId版权所有 © 2001–2022 Apache 软件基金会。版权所有。