Package org.apache.maven.model
Class PluginContainer
java.lang.Object
org.apache.maven.model.PluginContainer
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
- Direct Known Subclasses:
- PluginConfiguration,- PluginManagement
public class PluginContainer
extends Object
implements Serializable, Cloneable, InputLocationTracker
Contains the plugins informations for the project.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidMethod addPlugin.clone()Method clone.voidReset thepluginsMapfield tonullgetLocation(Object key) Gets the location of the specified field in the input source.Method getPlugins.voidremovePlugin(Plugin plugin) Method removePlugin.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetOtherLocation(Object key, InputLocation location) voidsetPlugins(List<Plugin> plugins) Set the list of plugins to use.toString()
- 
Constructor Details- 
PluginContainerpublic PluginContainer()
 
- 
- 
Method Details- 
addPluginMethod addPlugin.- Parameters:
- plugin- a plugin object.
 
- 
cloneMethod clone.
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- Returns:
- InputLocation
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
- setLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- location- a location object.
 
- 
setOtherLocation- Parameters:
- key- a key object.
- location- a location object.
 
- 
getPluginsMethod getPlugins.- Returns:
- List
 
- 
removePluginMethod removePlugin.- Parameters:
- plugin- a plugin object.
 
- 
setPluginsSet the list of plugins to use.- Parameters:
- plugins- a plugins object.
 
- 
flushPluginMappublic void flushPluginMap()Reset thepluginsMapfield tonull
- 
getPluginsAsMap- Returns:
- a Map of plugins field with Plugins#getKey()as key
- See Also:
 
- 
toString
 
-