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 Summary
Nested classes/interfaces inherited from class org.apache.maven.model.BaseObject
BaseObject.ChildrenTracking -
Field Summary
Fields inherited from class org.apache.maven.model.BaseObject
childrenTracking, delegate -
Constructor Summary
ConstructorsConstructorDescriptionReportPlugin(ReportPlugin delegate) ReportPlugin(ReportPlugin delegate, BaseObject parent) -
Method Summary
Modifier 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.ConfigurationContainer
configurationContainerToApiV3, configurationContainerToApiV4, getConfiguration, getInherited, isInherited, setConfiguration, setInheritedMethods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
ReportPlugin
public ReportPlugin() -
ReportPlugin
-
ReportPlugin
-
-
Method Details
-
clone
- Overrides:
clonein classConfigurationContainer
-
getDelegate
- Overrides:
getDelegatein classConfigurationContainer
-
equals
- Overrides:
equalsin classConfigurationContainer
-
hashCode
public int hashCode()- Overrides:
hashCodein classConfigurationContainer
-
getGroupId
-
setGroupId
-
getArtifactId
-
setArtifactId
-
getVersion
-
setVersion
-
getReportSets
-
setReportSets
-
addReportSet
-
removeReportSet
-
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
getLocationin interfaceInputLocationTracker- Overrides:
getLocationin classConfigurationContainer- Parameters:
key- The key of the field, must not benull.- Returns:
- The location of the field in the input source or
nullif unknown.
-
setLocation
Description copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
setLocationin interfaceInputLocationTracker- Overrides:
setLocationin classConfigurationContainer- Parameters:
key- The key of the field, must not benull.location- The location of the field, may benull.
-
replace
- Overrides:
replacein classConfigurationContainer
-
reportPluginToApiV4
-
reportPluginToApiV3
-
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
- Parameters:
groupId- The group ID of the plugin in the repositoryartifactId- The artifact ID of the reporting plugin in the repository- Returns:
- the key of the report plugin, ie
groupId:artifactId
-