Class BuildConfiguration
- java.lang.Object
-
- org.apache.commons.configuration.event.EventSource
-
- org.apache.commons.configuration.AbstractConfiguration
-
- org.apache.commons.configuration.HierarchicalConfiguration
-
- org.apache.commons.configuration.CombinedConfiguration
-
- com.atlassian.bamboo.commonsconfig.BambooCombinedConfiguration
-
- com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration
-
- All Implemented Interfaces:
Serializable
,Cloneable
,org.apache.commons.configuration.Configuration
,org.apache.commons.configuration.event.ConfigurationListener
@PublicApi public class BuildConfiguration extends BambooCombinedConfiguration
A specialisation of theCombinedConfiguration
object. It handles the complexities of dealing with this- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.commons.configuration.HierarchicalConfiguration
org.apache.commons.configuration.HierarchicalConfiguration.BuilderVisitor, org.apache.commons.configuration.HierarchicalConfiguration.Node, org.apache.commons.configuration.HierarchicalConfiguration.NodeVisitor
-
-
Field Summary
Fields Modifier and Type Field Description static String
IS_MERGED_CONFIGURATION
-
Fields inherited from class org.apache.commons.configuration.CombinedConfiguration
EVENT_COMBINED_INVALIDATE
-
-
Constructor Summary
Constructors Constructor Description BuildConfiguration()
BuildConfiguration(String xmlData)
BuildConfiguration(org.apache.commons.configuration.HierarchicalConfiguration configuration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProperty(String key, Object obj)
String
asXml()
void
clearProperty(String key)
void
clearTree(String key)
boolean
getBoolean(String key)
int
getInt(String key)
org.apache.commons.configuration.XMLConfiguration
getProjectConfig()
boolean
isMerged()
static boolean
isMerged(org.apache.commons.configuration.HierarchicalConfiguration fromConfig)
void
setProperty(String key, Object value)
-
Methods inherited from class com.atlassian.bamboo.commonsconfig.BambooCombinedConfiguration
createInterpolator, getInterpolator, getSubstitutor, interpolate, interpolate, interpolateHelper
-
Methods inherited from class org.apache.commons.configuration.CombinedConfiguration
addConfiguration, addConfiguration, addConfiguration, clear, clone, configurationChanged, getConfiguration, getConfiguration, getConfigurationNames, getNodeCombiner, getNumberOfConfigurations, getProperty, getRootNode, invalidate, isForceReloadCheck, removeConfiguration, removeConfiguration, removeConfigurationAt, setForceReloadCheck, setNodeCombiner
-
Methods inherited from class org.apache.commons.configuration.HierarchicalConfiguration
addNodes, addPropertyDirect, clearNode, clearNode, clearReferences, configurationAt, configurationsAt, containsKey, createAddPath, createNode, createSubnodeConfiguration, fetchAddNode, fetchNodeList, findLastPathNode, findPropertyNodes, getDefaultExpressionEngine, getExpressionEngine, getKeys, getKeys, getMaxIndex, getRoot, isEmpty, nodeDefined, nodeDefined, removeNode, removeNode, setDefaultExpressionEngine, setExpressionEngine, setRoot, setRootNode, subset
-
Methods inherited from class org.apache.commons.configuration.AbstractConfiguration
addErrorLogListener, clearPropertyDirect, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getByte, getByte, getByte, getDefaultListDelimiter, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInteger, getList, getList, getListDelimiter, getLogger, getLong, getLong, getLong, getProperties, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, isDelimiterParsingDisabled, isThrowExceptionOnMissing, resolveContainerStore, setDefaultListDelimiter, setDelimiter, setDelimiterParsingDisabled, setListDelimiter, setLogger, setThrowExceptionOnMissing
-
Methods inherited from class org.apache.commons.configuration.event.EventSource
addConfigurationListener, addErrorListener, clearConfigurationListeners, clearErrorListeners, createErrorEvent, createEvent, fireError, fireEvent, getConfigurationListeners, getErrorListeners, isDetailEvents, removeConfigurationListener, removeErrorListener, setDetailEvents
-
-
-
-
Field Detail
-
IS_MERGED_CONFIGURATION
public static final String IS_MERGED_CONFIGURATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BuildConfiguration
public BuildConfiguration()
-
BuildConfiguration
public BuildConfiguration(String xmlData)
-
BuildConfiguration
public BuildConfiguration(org.apache.commons.configuration.HierarchicalConfiguration configuration)
-
-
Method Detail
-
getBoolean
public boolean getBoolean(String key)
- Specified by:
getBoolean
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getBoolean
in classorg.apache.commons.configuration.AbstractConfiguration
-
getInt
public int getInt(String key)
- Specified by:
getInt
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
getInt
in classorg.apache.commons.configuration.AbstractConfiguration
-
setProperty
public void setProperty(String key, Object value)
- Specified by:
setProperty
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
setProperty
in classorg.apache.commons.configuration.HierarchicalConfiguration
-
addProperty
public void addProperty(String key, Object obj)
- Specified by:
addProperty
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
addProperty
in classorg.apache.commons.configuration.AbstractConfiguration
-
clearTree
public void clearTree(String key)
- Overrides:
clearTree
in classorg.apache.commons.configuration.HierarchicalConfiguration
-
clearProperty
public void clearProperty(String key)
- Specified by:
clearProperty
in interfaceorg.apache.commons.configuration.Configuration
- Overrides:
clearProperty
in classorg.apache.commons.configuration.HierarchicalConfiguration
-
getProjectConfig
public org.apache.commons.configuration.XMLConfiguration getProjectConfig()
-
asXml
public String asXml()
-
isMerged
public boolean isMerged()
-
isMerged
public static boolean isMerged(org.apache.commons.configuration.HierarchicalConfiguration fromConfig)
-
-