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
- a reportSet object.public String getArtifactId()
public Object getConfiguration()
public String getGroupId()
public String getInherited()
public String getVersion()
public void removeReportSet(ReportSet reportSet)
reportSet
- a reportSet object.public void setArtifactId(String artifactId)
artifactId
- a artifactId object.public void setConfiguration(Object configuration)
configuration
- a configuration object.public void setGroupId(String groupId)
groupId
- a groupId object.public void setInherited(String inherited)
inherited
- a inherited object.public void setReportSets(List<ReportSet> reportSets)
execution
in the build.reportSets
- a reportSets object.public void setVersion(String version)
version
- a version object.public void flushReportSetMap()
reportSetMap
field to null
public Map getReportSetsAsMap()
ReportSet#getId()
as keyReportSet.getId()
public String getKey()
groupId:artifactId
public static String constructKey(String groupId, String artifactId)
groupId
- artifactId
- groupId:artifactId
public void unsetInheritanceApplied()
public boolean isInheritanceApplied()
public boolean equals(Object other)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2001–2024 The Apache Software Foundation. All rights reserved.