public class ReportPlugin extends Object implements Serializable
<plugin> element contains
informations required for a report plugin.| Constructor and Description |
|---|
ReportPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
addReportSet(ReportSet reportSet)
Method addReportSet.
|
static String |
constructKey(String groupId,
String artifactId) |
boolean |
equals(Object other) |
void |
flushReportSetMap()
Reset the
reportSetMap field to null |
String |
getArtifactId()
Get the artifact ID of the reporting plugin in the
repository.
|
Object |
getConfiguration()
Get the configuration of the reporting plugin.
|
String |
getGroupId()
Get the group ID of the reporting plugin in the repository.
|
String |
getInherited()
Get whether the configuration in this plugin should be made
available to projects
that inherit from this one.
|
String |
getKey() |
List<ReportSet> |
getReportSets()
Method getReportSets.
|
Map |
getReportSetsAsMap() |
String |
getVersion()
Get the version of the reporting plugin to be used.
|
int |
hashCode() |
boolean |
isInheritanceApplied() |
void |
removeReportSet(ReportSet reportSet)
Method removeReportSet.
|
void |
setArtifactId(String artifactId)
Set the artifact ID of the reporting plugin in the
repository.
|
void |
setConfiguration(Object configuration)
Set the configuration of the reporting plugin.
|
void |
setGroupId(String groupId)
Set the group ID of the reporting plugin in the repository.
|
void |
setInherited(String inherited)
Set whether the configuration in this plugin should be made
available to projects
that inherit from this one.
|
void |
setReportSets(List<ReportSet> reportSets)
Set multiple specifications of a set of reports, each having
(possibly) different
configuration.
|
void |
setVersion(String version)
Set the version of the reporting plugin to be used.
|
String |
toString() |
void |
unsetInheritanceApplied() |
public void addReportSet(ReportSet reportSet)
reportSet - public String getArtifactId()
public Object getConfiguration()
public String getGroupId()
public String getInherited()
public String getVersion()
public void removeReportSet(ReportSet reportSet)
reportSet - public void setArtifactId(String artifactId)
artifactId - public void setConfiguration(Object configuration)
configuration - public void setGroupId(String groupId)
groupId - public void setInherited(String inherited)
inherited - public void setReportSets(List<ReportSet> reportSets)
execution in the build.reportSets - public void setVersion(String version)
version - public void flushReportSetMap()
reportSetMap field to nullpublic Map getReportSetsAsMap()
ReportSet#getId() as keyReportSet.getId()public String getKey()
groupId:artifactIdpublic static String constructKey(String groupId, String artifactId)
groupId - artifactId - groupId:artifactIdpublic void unsetInheritanceApplied()
public boolean isInheritanceApplied()
public boolean equals(Object other)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()Copyright © 2001-2021 The Apache Software Foundation. All Rights Reserved.