Class 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 the CombinedConfiguration 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
      • Fields inherited from class org.apache.commons.configuration.HierarchicalConfiguration

        EVENT_ADD_NODES, EVENT_CLEAR_TREE
      • Fields inherited from class org.apache.commons.configuration.AbstractConfiguration

        END_TOKEN, EVENT_ADD_PROPERTY, EVENT_CLEAR, EVENT_CLEAR_PROPERTY, EVENT_READ_PROPERTY, EVENT_SET_PROPERTY, START_TOKEN
    • 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 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
    • 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 interface org.apache.commons.configuration.Configuration
        Overrides:
        getBoolean in class org.apache.commons.configuration.AbstractConfiguration
      • getInt

        public int getInt​(String key)
        Specified by:
        getInt in interface org.apache.commons.configuration.Configuration
        Overrides:
        getInt in class org.apache.commons.configuration.AbstractConfiguration
      • setProperty

        public void setProperty​(String key,
                                Object value)
        Specified by:
        setProperty in interface org.apache.commons.configuration.Configuration
        Overrides:
        setProperty in class org.apache.commons.configuration.HierarchicalConfiguration
      • addProperty

        public void addProperty​(String key,
                                Object obj)
        Specified by:
        addProperty in interface org.apache.commons.configuration.Configuration
        Overrides:
        addProperty in class org.apache.commons.configuration.AbstractConfiguration
      • clearTree

        public void clearTree​(String key)
        Overrides:
        clearTree in class org.apache.commons.configuration.HierarchicalConfiguration
      • clearProperty

        public void clearProperty​(String key)
        Specified by:
        clearProperty in interface org.apache.commons.configuration.Configuration
        Overrides:
        clearProperty in class org.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)