Package org.apache.maven.model
Class PluginManagement
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.PluginContainer
org.apache.maven.model.PluginManagement
- All Implemented Interfaces:
Serializable
,Cloneable
,InputLocationTracker
- 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
ConstructorDescriptionPluginManagement
(PluginManagement delegate) PluginManagement
(PluginManagement delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getLocation
(Object key) Gets the location of the specified field in the input source.int
hashCode()
static List<PluginManagement>
static List<PluginManagement>
protected boolean
void
setImportedFrom
(InputLocation location) void
setLocation
(Object key, InputLocation location) Sets the location of the specified field.Methods inherited from class org.apache.maven.model.PluginContainer
addPlugin, flushPluginMap, getPlugins, getPluginsAsMap, pluginContainerToApiV3, pluginContainerToApiV4, removePlugin, setPlugins, toString
Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
PluginManagement
public PluginManagement() -
PluginManagement
-
PluginManagement
-
-
Method Details
-
clone
- Overrides:
clone
in classPluginContainer
-
getDelegate
- Overrides:
getDelegate
in classPluginContainer
-
equals
- Overrides:
equals
in classPluginContainer
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPluginContainer
-
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 classPluginContainer
- 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 classPluginContainer
- Parameters:
key
- The key of the field, must not benull
.location
- The location of the field, may benull
.
-
getImportedFrom
- Overrides:
getImportedFrom
in classPluginContainer
-
setImportedFrom
- Overrides:
setImportedFrom
in classPluginContainer
-
getLocationKeys
- Overrides:
getLocationKeys
in classPluginContainer
-
replace
- Overrides:
replace
in classPluginContainer
-
pluginManagementToApiV4
-
pluginManagementToApiV3
-