public class ReportPlugin extends ConfigurationContainer implements java.io.Serializable, java.lang.Cloneable
<plugin>
element contains
informations required for a report plugin.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
artifactId
The artifact ID of the reporting plugin in the repository.
|
private java.lang.String |
groupId
The group ID of the reporting plugin in the repository.
|
private java.util.Map<java.lang.String,ReportSet> |
reportSetMap |
private java.util.List<ReportSet> |
reportSets
Field reportSets.
|
private java.lang.String |
version
The version of the reporting plugin to be used.
|
Constructor and Description |
---|
ReportPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
addReportSet(ReportSet reportSet)
Method addReportSet.
|
ReportPlugin |
clone()
Method clone.
|
static java.lang.String |
constructKey(java.lang.String groupId,
java.lang.String artifactId) |
void |
flushReportSetMap()
Reset the
reportSetMap field to null |
java.lang.String |
getArtifactId()
Get the artifact ID of the reporting plugin in the
repository.
|
java.lang.String |
getGroupId()
Get the group ID of the reporting plugin in the repository.
|
java.lang.String |
getKey() |
java.util.List<ReportSet> |
getReportSets()
Method getReportSets.
|
java.util.Map<java.lang.String,ReportSet> |
getReportSetsAsMap() |
java.lang.String |
getVersion()
Get the version of the reporting plugin to be used.
|
void |
removeReportSet(ReportSet reportSet)
Method removeReportSet.
|
void |
setArtifactId(java.lang.String artifactId)
Set the artifact ID of the reporting plugin in the
repository.
|
void |
setGroupId(java.lang.String groupId)
Set the group ID of the reporting plugin in the repository.
|
void |
setReportSets(java.util.List<ReportSet> reportSets)
Set multiple specifications of a set of reports, each having
(possibly) different
configuration.
|
void |
setVersion(java.lang.String version)
Set the version of the reporting plugin to be used.
|
getConfiguration, getInherited, getLocation, isInheritanceApplied, isInherited, setConfiguration, setInherited, setInherited, setLocation, setOtherLocation, unsetInheritanceApplied
private java.lang.String groupId
private java.lang.String artifactId
private java.lang.String version
private java.util.List<ReportSet> reportSets
private java.util.Map<java.lang.String,ReportSet> reportSetMap
public void addReportSet(ReportSet reportSet)
reportSet
- public ReportPlugin clone()
clone
in class ConfigurationContainer
public java.lang.String getArtifactId()
public java.lang.String getGroupId()
public java.util.List<ReportSet> getReportSets()
public java.lang.String getVersion()
public void removeReportSet(ReportSet reportSet)
reportSet
- public void setArtifactId(java.lang.String artifactId)
artifactId
- public void setGroupId(java.lang.String groupId)
groupId
- public void setReportSets(java.util.List<ReportSet> reportSets)
execution
in the build.reportSets
- public void setVersion(java.lang.String version)
version
- public void flushReportSetMap()
reportSetMap
field to null
public java.util.Map<java.lang.String,ReportSet> getReportSetsAsMap()
ReportSet#getId()
as keyReportSet.getId()
public java.lang.String getKey()
groupId:artifactId
public static java.lang.String constructKey(java.lang.String groupId, java.lang.String artifactId)
groupId
- The group ID of the plugin in the repositoryartifactId
- The artifact ID of the reporting plugin in the repositorygroupId:artifactId