public class ConfigurationContainer extends Object implements Serializable, Cloneable, InputLocationTracker
Constructor and Description |
---|
ConfigurationContainer() |
Modifier and Type | Method and Description |
---|---|
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() |
public ConfigurationContainer clone()
public Object getConfiguration()
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
.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)
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
.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()
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.