Class ReportPlugin
java.lang.Object
org.apache.maven.model.ReportPlugin
- All Implemented Interfaces:
Serializable
The
<plugin> element contains
informations required for a report plugin.- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReportSet(ReportSet reportSet) Method addReportSet.static StringconstructKey(String groupId, String artifactId) booleanvoidReset thereportSetMapfield tonullGet the artifact ID of the reporting plugin in the repository.Get the configuration of the reporting plugin.Get the group ID of the reporting plugin in the repository.Get whether the configuration in this plugin should be made available to projects that inherit from this one.getKey()Method getReportSets.Get the version of the reporting plugin to be used.inthashCode()booleanvoidremoveReportSet(ReportSet reportSet) Method removeReportSet.voidsetArtifactId(String artifactId) Set the artifact ID of the reporting plugin in the repository.voidsetConfiguration(Object configuration) Set the configuration of the reporting plugin.voidsetGroupId(String groupId) Set the group ID of the reporting plugin in the repository.voidsetInherited(String inherited) Set whether the configuration in this plugin should be made available to projects that inherit from this one.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.toString()void
-
Constructor Details
-
ReportPlugin
public ReportPlugin()
-
-
Method Details
-
addReportSet
Method addReportSet.- Parameters:
reportSet- a reportSet object.
-
getArtifactId
Get the artifact ID of the reporting plugin in the repository.- Returns:
- String
-
getConfiguration
-
getGroupId
Get the group ID of the reporting plugin in the repository.- Returns:
- String
-
getInherited
Get whether the configuration in this plugin should be made available to projects that inherit from this one.- Returns:
- String
-
getReportSets
-
getVersion
-
removeReportSet
Method removeReportSet.- Parameters:
reportSet- a reportSet object.
-
setArtifactId
Set the artifact ID of the reporting plugin in the repository.- Parameters:
artifactId- a artifactId object.
-
setConfiguration
Set the configuration of the reporting plugin.- Parameters:
configuration- a configuration object.
-
setGroupId
Set the group ID of the reporting plugin in the repository.- Parameters:
groupId- a groupId object.
-
setInherited
Set whether the configuration in this plugin should be made available to projects that inherit from this one.- Parameters:
inherited- a inherited object.
-
setReportSets
-
setVersion
Set the version of the reporting plugin to be used.- Parameters:
version- a version object.
-
flushReportSetMap
public 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
-
unsetInheritanceApplied
public void unsetInheritanceApplied() -
isInheritanceApplied
public boolean isInheritanceApplied() -
equals
-
hashCode
-
toString
-