org.apache.maven.model
Class ConfigurationContainer

java.lang.Object
  extended by org.apache.maven.model.ConfigurationContainer
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Plugin, PluginExecution

public class ConfigurationContainer
extends Object
implements Serializable

Contains the configuration information of the container like Plugin.

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

Constructor Summary
ConfigurationContainer()
           
 
Method Summary
 Object getConfiguration()
          Get the configuration as DOM object.
 String getInherited()
          Get whether any configuration should be propagated to child POMs.
 String getModelEncoding()
           
 boolean isInheritanceApplied()
           
 void setConfiguration(Object configuration)
          Set the configuration as DOM object.
 void setInherited(String inherited)
          Set whether any configuration should be propagated to child POMs.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 void unsetInheritanceApplied()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationContainer

public ConfigurationContainer()
Method Detail

getConfiguration

public Object getConfiguration()
Get the configuration as DOM object.

Returns:
Object

getInherited

public String getInherited()
Get whether any configuration should be propagated to child POMs.

Returns:
String

setConfiguration

public void setConfiguration(Object configuration)
Set the configuration as DOM object.

Parameters:
configuration -

setInherited

public void setInherited(String inherited)
Set whether any configuration should be propagated to child POMs.

Parameters:
inherited -

unsetInheritanceApplied

public void unsetInheritanceApplied()

isInheritanceApplied

public boolean isInheritanceApplied()

setModelEncoding

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

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

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


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