Package org.apache.maven.model
Class ReportPlugin
java.lang.Object
org.apache.maven.model.ConfigurationContainer
org.apache.maven.model.ReportPlugin
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
The 
<plugin> element in
 <reporting><plugins> contains
 informations required for a report plugin.- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddReportSet(ReportSet reportSet) Method addReportSet.clone()Method clone.static StringconstructKey(String groupId, String artifactId) voidReset thereportSetMapfield tonullGet the artifact ID of the reporting plugin in the repository.Get the group ID of the reporting plugin in the repository.getKey()Method getReportSets.Get the version of the reporting plugin to be used.voidremoveReportSet(ReportSet reportSet) Method removeReportSet.voidsetArtifactId(String artifactId) Set the artifact ID of the reporting plugin in the repository.voidsetGroupId(String groupId) Set the group ID of the reporting plugin in the repository.voidsetReportSets(List<ReportSet> reportSets) Set multiple specifications of a set of reports, each having (possibly) different configuration.voidsetVersion(String version) Set the version of the reporting plugin to be used.Methods inherited from class org.apache.maven.model.ConfigurationContainergetConfiguration, getInherited, getLocation, isInheritanceApplied, isInherited, setConfiguration, setInherited, setInherited, setLocation, setOtherLocation, unsetInheritanceApplied
- 
Constructor Details- 
ReportPluginpublic ReportPlugin()
 
- 
- 
Method Details- 
addReportSetMethod addReportSet.- Parameters:
- reportSet- a reportSet object.
 
- 
cloneMethod clone.- Overrides:
- clonein class- ConfigurationContainer
- Returns:
- ReportPlugin
 
- 
getArtifactIdGet the artifact ID of the reporting plugin in the repository.- Returns:
- String
 
- 
getGroupIdGet the group ID of the reporting plugin in the repository.- Returns:
- String
 
- 
getReportSetsMethod getReportSets.- Returns:
- List
 
- 
getVersionGet the version of the reporting plugin to be used. Starting with Maven 3, if no version is defined explicitely, version is searched inbuild/pluginsthen inbuild/pluginManagement.- Returns:
- String
 
- 
removeReportSetMethod removeReportSet.- Parameters:
- reportSet- a reportSet object.
 
- 
setArtifactIdSet the artifact ID of the reporting plugin in the repository.- Parameters:
- artifactId- a artifactId object.
 
- 
setGroupIdSet the group ID of the reporting plugin in the repository.- Parameters:
- groupId- a groupId object.
 
- 
setReportSetsSet multiple specifications of a set of reports, each having (possibly) different configuration. This is the reporting parallel to anexecutionin the build.- Parameters:
- reportSets- a reportSets object.
 
- 
setVersionSet the version of the reporting plugin to be used. Starting with Maven 3, if no version is defined explicitely, version is searched inbuild/pluginsthen inbuild/pluginManagement.- Parameters:
- version- a version object.
 
- 
flushReportSetMappublic void flushReportSetMap()Reset thereportSetMapfield tonull
- 
getReportSetsAsMap- Returns:
- a Map of reportSets field with ReportSet#getId()as key
- See Also:
 
- 
getKey- Returns:
- the key of the report plugin, ie groupId:artifactId
 
- 
constructKey- Parameters:
- groupId- The group ID of the plugin in the repository
- artifactId- The artifact ID of the reporting plugin in the repository
- Returns:
- the key of the report plugin, ie groupId:artifactId
 
 
-