Class ConfigurationContainer
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
- Direct Known Subclasses:
- Plugin,- PluginExecution,- ReportPlugin,- ReportSet
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Method clone.GetGet whether any configuration should be propagated to child POMs.getLocation(Object key) Gets the location of the specified field in the input source.booleanbooleanvoidsetConfiguration(Object configuration) SetvoidsetInherited(boolean inherited) voidsetInherited(String inherited) Set whether any configuration should be propagated to child POMs.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetOtherLocation(Object key, InputLocation location) void
- 
Constructor Details- 
ConfigurationContainerpublic ConfigurationContainer()
 
- 
- 
Method Details- 
cloneMethod clone.
- 
getConfigurationGetThe configuration as DOM object. By default, every element content is trimmed, but starting with Maven 3.1.0, you can add xml:space="preserve"to elements you want to preserve whitespace.You can control how child POMs inherit configuration from parent POMs by adding combine.childrenorcombine.selfattributes to the children of the configuration element:- combine.children: available values are- merge(default) and- append,
- combine.self: available values are- merge(default) and- override.
 See POM Reference documentation and Xpp3DomUtils for more information. - Returns:
- Object
 
- 
getInheritedGet whether any configuration should be propagated to child POMs. Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean. Default value istrue.- Returns:
- String
 
- 
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.
 
- 
setConfigurationSetThe configuration as DOM object. By default, every element content is trimmed, but starting with Maven 3.1.0, you can add xml:space="preserve"to elements you want to preserve whitespace.You can control how child POMs inherit configuration from parent POMs by adding combine.childrenorcombine.selfattributes to the children of the configuration element:- combine.children: available values are- merge(default) and- append,
- combine.self: available values are- merge(default) and- override.
 See POM Reference documentation and Xpp3DomUtils for more information. - Parameters:
- configuration- a configuration object.
 
- 
setInheritedSet whether any configuration should be propagated to child POMs. Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean. Default value istrue.- Parameters:
- inherited- a inherited object.
 
- 
isInheritedpublic boolean isInherited()
- 
setInheritedpublic void setInherited(boolean inherited) 
- 
unsetInheritanceAppliedpublic void unsetInheritanceApplied()
- 
isInheritanceAppliedpublic boolean isInheritanceApplied()
 
-