Package org.apache.maven.model
Class PluginContainer
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.PluginContainer
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
- Direct Known Subclasses:
- PluginConfiguration,- PluginManagement
- 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 SummaryConstructorsConstructorDescriptionPluginContainer(PluginContainer delegate) PluginContainer(PluginContainer delegate, BaseObject parent) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclone()booleanvoidReset thepluginsMapfield tonullgetLocation(Object key) Gets the location of the specified field in the input source.inthashCode()static List<PluginContainer> static List<PluginContainer> voidremovePlugin(Plugin plugin) protected booleanvoidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetPlugins(List<Plugin> plugins) toString()Methods inherited from class org.apache.maven.model.BaseObjectupdate
- 
Constructor Details- 
PluginContainerpublic PluginContainer()
- 
PluginContainer
- 
PluginContainer
 
- 
- 
Method Details- 
clone
- 
getDelegate- Overrides:
- getDelegatein class- BaseObject
 
- 
equals
- 
hashCodepublic int hashCode()
- 
getPlugins
- 
setPlugins
- 
addPlugin
- 
removePlugin
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- 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.- Parameters:
- key- The key of the field, must not be- null.
- location- The location of the field, may be- null.
 
- 
replace- Overrides:
- replacein class- BaseObject
 
- 
pluginContainerToApiV4
- 
pluginContainerToApiV3
- 
flushPluginMappublic void flushPluginMap()Reset thepluginsMapfield tonull
- 
getPluginsAsMap- Returns:
- a Map of plugins field with Plugins#getKey()as key
- See Also:
 
- 
toString
 
-