@PublicApi public class BuildConfiguration extends BambooCombinedConfiguration
CombinedConfiguration
object. It handles the complexities of dealing with thisorg.apache.commons.configuration.HierarchicalConfiguration.BuilderVisitor, org.apache.commons.configuration.HierarchicalConfiguration.Node, org.apache.commons.configuration.HierarchicalConfiguration.NodeVisitor
Modifier and Type | Field and Description |
---|---|
static String |
IS_MERGED_CONFIGURATION |
EVENT_COMBINED_INVALIDATE
Constructor and Description |
---|
BuildConfiguration() |
BuildConfiguration(org.apache.commons.configuration.HierarchicalConfiguration configuration) |
BuildConfiguration(String xmlData) |
Modifier and Type | Method and 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) |
createInterpolator, getInterpolator, getSubstitutor, interpolate, interpolate, interpolateHelper
addConfiguration, addConfiguration, addConfiguration, clear, clone, configurationChanged, getConfiguration, getConfiguration, getConfigurationNames, getNodeCombiner, getNumberOfConfigurations, getProperty, getRootNode, invalidate, isForceReloadCheck, removeConfiguration, removeConfiguration, removeConfigurationAt, setForceReloadCheck, setNodeCombiner
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
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
addConfigurationListener, addErrorListener, clearConfigurationListeners, clearErrorListeners, createErrorEvent, createEvent, fireError, fireEvent, getConfigurationListeners, getErrorListeners, isDetailEvents, removeConfigurationListener, removeErrorListener, setDetailEvents
public static final String IS_MERGED_CONFIGURATION
public BuildConfiguration()
public BuildConfiguration(String xmlData)
public BuildConfiguration(org.apache.commons.configuration.HierarchicalConfiguration configuration)
public boolean getBoolean(String key)
getBoolean
in interface org.apache.commons.configuration.Configuration
getBoolean
in class org.apache.commons.configuration.AbstractConfiguration
public int getInt(String key)
getInt
in interface org.apache.commons.configuration.Configuration
getInt
in class org.apache.commons.configuration.AbstractConfiguration
public void setProperty(String key, Object value)
setProperty
in interface org.apache.commons.configuration.Configuration
setProperty
in class org.apache.commons.configuration.HierarchicalConfiguration
public void addProperty(String key, Object obj)
addProperty
in interface org.apache.commons.configuration.Configuration
addProperty
in class org.apache.commons.configuration.AbstractConfiguration
public void clearTree(String key)
clearTree
in class org.apache.commons.configuration.HierarchicalConfiguration
public void clearProperty(String key)
clearProperty
in interface org.apache.commons.configuration.Configuration
clearProperty
in class org.apache.commons.configuration.HierarchicalConfiguration
public org.apache.commons.configuration.XMLConfiguration getProjectConfig()
public String asXml()
public boolean isMerged()
public static boolean isMerged(org.apache.commons.configuration.HierarchicalConfiguration fromConfig)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.