public class ReportPlugin
extends java.lang.Object
implements java.io.Serializable
<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.Object |
configuration
The configuration of the reporting plugin.
|
private java.lang.String |
groupId
The group ID of the reporting plugin in the repository.
|
private boolean |
inheritanceApplied |
private java.lang.String |
inherited
Whether the configuration in this plugin should be made
available to projects
that inherit from this one.
|
private java.util.Map |
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.
|
static java.lang.String |
constructKey(java.lang.String groupId,
java.lang.String artifactId) |
boolean |
equals(java.lang.Object other) |
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.Object |
getConfiguration()
Get the configuration of the reporting plugin.
|
java.lang.String |
getGroupId()
Get the group ID of the reporting plugin in the repository.
|
java.lang.String |
getInherited()
Get whether the configuration in this plugin should be made
available to projects
that inherit from this one.
|
java.lang.String |
getKey() |
java.util.List<ReportSet> |
getReportSets()
Method getReportSets.
|
java.util.Map |
getReportSetsAsMap() |
java.lang.String |
getVersion()
Get the version of the reporting plugin to be used.
|
int |
hashCode() |
boolean |
isInheritanceApplied() |
void |
removeReportSet(ReportSet reportSet)
Method removeReportSet.
|
void |
setArtifactId(java.lang.String artifactId)
Set the artifact ID of the reporting plugin in the
repository.
|
void |
setConfiguration(java.lang.Object configuration)
Set the configuration of the reporting plugin.
|
void |
setGroupId(java.lang.String groupId)
Set the group ID of the reporting plugin in the repository.
|
void |
setInherited(java.lang.String inherited)
Set whether the configuration in this plugin should be made
available to projects
that inherit from this one.
|
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.
|
java.lang.String |
toString() |
void |
unsetInheritanceApplied() |
private java.lang.String groupId
private java.lang.String artifactId
private java.lang.String version
private java.lang.String inherited
private java.lang.Object configuration
private java.util.List<ReportSet> reportSets
private java.util.Map reportSetMap
private boolean inheritanceApplied
public void addReportSet(ReportSet reportSet)
reportSet
- public java.lang.String getArtifactId()
public java.lang.Object getConfiguration()
public java.lang.String getGroupId()
public java.lang.String getInherited()
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 setConfiguration(java.lang.Object configuration)
configuration
- public void setGroupId(java.lang.String groupId)
groupId
- public void setInherited(java.lang.String inherited)
inherited
- 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 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
- artifactId
- groupId:artifactId
public void unsetInheritanceApplied()
public boolean isInheritanceApplied()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()