org.apache.maven.model
Class PluginConfiguration

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

public class PluginConfiguration
extends PluginContainer
implements Serializable

Contains the plugins management informations for the project.

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

Constructor Summary
PluginConfiguration()
           
 
Method Summary
 String getModelEncoding()
           
 PluginManagement getPluginManagement()
          Get default plugin information to be made available for reference by projects derived from this one.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setPluginManagement(PluginManagement pluginManagement)
          Set default plugin information to be made available for reference by projects derived from this one.
 
Methods inherited from class org.apache.maven.model.PluginContainer
addPlugin, flushPluginMap, getPlugins, getPluginsAsMap, removePlugin, setPlugins
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginConfiguration

public PluginConfiguration()
Method Detail

getPluginManagement

public PluginManagement getPluginManagement()
Get default plugin information to be made available for reference by projects derived from this one. This plugin configuration will not be resolved or bound to the lifecycle unless referenced. Any local configuration for a given plugin will override the plugin's entire definition here.

Returns:
PluginManagement

setPluginManagement

public void setPluginManagement(PluginManagement pluginManagement)
Set default plugin information to be made available for reference by projects derived from this one. This plugin configuration will not be resolved or bound to the lifecycle unless referenced. Any local configuration for a given plugin will override the plugin's entire definition here.

Parameters:
pluginManagement -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set an encoding used for reading/writing the model.

Overrides:
setModelEncoding in class PluginContainer
Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public String getModelEncoding()
Overrides:
getModelEncoding in class PluginContainer
Returns:
the current encoding used when reading/writing this model.


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