Package org.apache.maven.model
Class ReportPlugin
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.ConfigurationContainer
org.apache.maven.model.ReportPlugin
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
@Generated
public class ReportPlugin
extends ConfigurationContainer
implements Serializable, Cloneable
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.maven.model.BaseObjectBaseObject.ChildrenTracking
- 
Field SummaryFields inherited from class org.apache.maven.model.BaseObjectchildrenTracking, delegate
- 
Constructor SummaryConstructorsConstructorDescriptionReportPlugin(ReportPlugin delegate) ReportPlugin(ReportPlugin delegate, BaseObject parent) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddReportSet(ReportSet reportSet) clone()static StringconstructKey(String groupId, String artifactId) booleanvoidReset thereportSetMapfield tonullgetKey()getLocation(Object key) Gets the location of the specified field in the input source.inthashCode()voidremoveReportSet(ReportSet reportSet) protected booleanstatic List<ReportPlugin> reportPluginToApiV3(List<ReportPlugin> list) static List<ReportPlugin> reportPluginToApiV4(List<ReportPlugin> list) voidsetArtifactId(String artifactId) voidsetGroupId(String groupId) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetReportSets(List<ReportSet> reportSets) voidsetVersion(String version) Methods inherited from class org.apache.maven.model.ConfigurationContainerconfigurationContainerToApiV3, configurationContainerToApiV4, getConfiguration, getInherited, isInherited, setConfiguration, setInheritedMethods inherited from class org.apache.maven.model.BaseObjectupdate
- 
Constructor Details- 
ReportPluginpublic ReportPlugin()
- 
ReportPlugin
- 
ReportPlugin
 
- 
- 
Method Details- 
clone- Overrides:
- clonein class- ConfigurationContainer
 
- 
getDelegate- Overrides:
- getDelegatein class- ConfigurationContainer
 
- 
equals- Overrides:
- equalsin class- ConfigurationContainer
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- ConfigurationContainer
 
- 
getGroupId
- 
setGroupId
- 
getArtifactId
- 
setArtifactId
- 
getVersion
- 
setVersion
- 
getReportSets
- 
setReportSets
- 
addReportSet
- 
removeReportSet
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Overrides:
- getLocationin class- ConfigurationContainer
- Parameters:
- key- The key of the field, must not be- null.
- Returns:
- The location of the field in the input source or
 nullif unknown.
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
- setLocationin interface- InputLocationTracker
- Overrides:
- setLocationin class- ConfigurationContainer
- Parameters:
- key- The key of the field, must not be- null.
- location- The location of the field, may be- null.
 
- 
replace- Overrides:
- replacein class- ConfigurationContainer
 
- 
reportPluginToApiV4
- 
reportPluginToApiV3
- 
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
 
 
-