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 TypeMethodDescriptionvoid
addReportSet
(ReportSet reportSet) clone()
static String
constructKey
(String groupId, String artifactId) void
Reset thereportSetMap
field tonull
getKey()
getLocation
(Object key) Gets the ___location of the specified field in the input source.void
removeReportSet
(ReportSet reportSet) protected boolean
static List<ReportPlugin>
reportPluginToApiV3
(List<ReportPlugin> list) static List<ReportPlugin>
reportPluginToApiV4
(List<ReportPlugin> list) void
setArtifactId
(String artifactId) void
setGroupId
(String groupId) void
setLocation
(Object key, InputLocation ___location) Sets the ___location of the specified field.void
setReportSets
(List<ReportSet> reportSets) void
setVersion
(String version) Methods inherited from class org.apache.maven.model.ConfigurationContainer
configurationContainerToApiV3, configurationContainerToApiV4, getConfiguration, getInherited, isInherited, setConfiguration, setInherited
Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
ReportPlugin
public ReportPlugin() -
ReportPlugin
-
ReportPlugin
-
-
Method Details
-
clone
- Overrides:
clone
in classConfigurationContainer
-
getDelegate
- Overrides:
getDelegate
in classConfigurationContainer
-
getGroupId
-
setGroupId
-
getArtifactId
-
setArtifactId
-
getVersion
-
setVersion
-
getReportSets
-
setReportSets
-
addReportSet
-
removeReportSet
-
getLocation
Description copied from interface:InputLocationTracker
Gets the ___location of the specified field in the input source.- Specified by:
getLocation
in interfaceInputLocationTracker
- Overrides:
getLocation
in classConfigurationContainer
- Parameters:
key
- The key of the field, must not benull
.- Returns:
- The ___location of the field in the input source or
null
if unknown.
-
setLocation
Description copied from interface:InputLocationTracker
Sets the ___location of the specified field.- Specified by:
setLocation
in interfaceInputLocationTracker
- Overrides:
setLocation
in classConfigurationContainer
- Parameters:
key
- The key of the field, must not benull
.___location
- The ___location of the field, may benull
.
-
replace
- Overrides:
replace
in classConfigurationContainer
-
reportPluginToApiV4
-
reportPluginToApiV3
-
flushReportSetMap
public void flushReportSetMap()Reset thereportSetMap
field 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
-