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 the CombinedConfiguration object. It handles the complexities of dealing with this
See Also:
  • 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 final String
     

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
    BuildConfiguration(org.apache.commons.configuration.HierarchicalConfiguration configuration)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
    void
     
    void
     
    boolean
     
    int
     
    org.apache.commons.configuration.XMLConfiguration
     
    boolean
     
    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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • BuildConfiguration

      public BuildConfiguration()
    • BuildConfiguration

      public BuildConfiguration(String xmlData)
    • BuildConfiguration

      public BuildConfiguration(org.apache.commons.configuration.HierarchicalConfiguration configuration)
  • Method Details

    • 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)