org.apache.maven.model
Class PluginContainer

java.lang.Object
  extended by org.apache.maven.model.PluginContainer
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PluginConfiguration, PluginManagement

public class PluginContainer
extends Object
implements Serializable

Contains the plugins informations for the project.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
PluginContainer()
           
 
Method Summary
 void addPlugin(Plugin plugin)
          Method addPlugin.
 void flushPluginMap()
          Reset the pluginsMap field to null
 List<Plugin> getPlugins()
          Method getPlugins.
 Map getPluginsAsMap()
           
 void removePlugin(Plugin plugin)
          Method removePlugin.
 void setPlugins(List<Plugin> plugins)
          Set the list of plugins to use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginContainer

public PluginContainer()
Method Detail

addPlugin

public void addPlugin(Plugin plugin)
Method addPlugin.

Parameters:
plugin -

getPlugins

public List<Plugin> getPlugins()
Method getPlugins.

Returns:
List

removePlugin

public void removePlugin(Plugin plugin)
Method removePlugin.

Parameters:
plugin -

setPlugins

public void setPlugins(List<Plugin> plugins)
Set the list of plugins to use.

Parameters:
plugins -

flushPluginMap

public void flushPluginMap()
Reset the pluginsMap field to null


getPluginsAsMap

public Map getPluginsAsMap()
Returns:
a Map of plugins field with Plugins#getKey() as key
See Also:
Plugin.getKey()


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.