|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.model.ConfigurationContainer
public class ConfigurationContainer
Contains the configuration information of the container like Plugin.
Constructor Summary | |
---|---|
ConfigurationContainer()
|
Method Summary | |
---|---|
ConfigurationContainer |
clone()
Method clone. |
Object |
getConfiguration()
Get The configuration as DOM object. |
String |
getInherited()
Get whether any configuration should be propagated to child POMs. |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input source. |
boolean |
isInheritanceApplied()
|
boolean |
isInherited()
|
void |
setConfiguration(Object configuration)
Set The configuration as DOM object. |
void |
setInherited(boolean inherited)
|
void |
setInherited(String inherited)
Set whether any configuration should be propagated to child POMs. |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field. |
void |
unsetInheritanceApplied()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationContainer()
Method Detail |
---|
public ConfigurationContainer clone()
clone
in class Object
public Object getConfiguration()
The 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.children
or combine.self
attributes 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.
public String getInherited()
String
for
technical reasons, the semantic type is actually
Boolean
. Default value is
true
.
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
-
public void setConfiguration(Object configuration)
The 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.children
or combine.self
attributes 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.
configuration
- public void setInherited(String inherited)
String
for
technical reasons, the semantic type is actually
Boolean
. Default value is
true
.
inherited
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public boolean isInherited()
public void setInherited(boolean inherited)
public void unsetInheritanceApplied()
public boolean isInheritanceApplied()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |