|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.config.ApplicationConfig com.atlassian.bamboo.setup.BambooApplicationConfig
public class BambooApplicationConfig
A ApplicationConfiguration implemntation that replaces ${bambooHome} variables in getProperty and getPropertiesWithPrefix
Field Summary |
---|
Fields inherited from class com.atlassian.config.ApplicationConfig |
---|
configurationPersister, DEFAULT_APPLICATION_HOME, DEFAULT_CONFIG_FILE_NAME, NULL_BOOLEAN_VALUE, NULL_INTEGER_VALUE |
Constructor Summary | |
---|---|
BambooApplicationConfig()
|
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getPropertiesWithPrefix(java.lang.String prefix)
|
java.lang.Object |
getProperty(java.lang.Object key)
Gets the property and then, if a string, the attempt to replace BambooSetupConstants.BAMBOO_HOME_CONSTANT
with the ApplicationConfig.getApplicationHome() |
Methods inherited from class com.atlassian.config.ApplicationConfig |
---|
configFileExists, getApplicationHome, getApplicationVersion, getBooleanProperty, getBuildNumber, getConfigurationFileName, getCurrentSetupStep, getIntegerProperty, getMajorVersion, getMinorVersion, getProperties, getSetupType, isApplicationHomeValid, isSetupComplete, load, removeProperty, reset, save, setApplicationHome, setBuildNumber, setConfigurationFileName, setConfigurationPersister, setCurrentSetupStep, setInitialProperties, setMajorVersion, setMinorVersion, setProperty, setProperty, setProperty, setSetupComplete, setSetupType, untestedCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BambooApplicationConfig()
Method Detail |
---|
public java.lang.Object getProperty(java.lang.Object key)
BambooSetupConstants.BAMBOO_HOME_CONSTANT
with the ApplicationConfig.getApplicationHome()
getProperty
in interface com.atlassian.config.ApplicationConfiguration
getProperty
in class com.atlassian.config.ApplicationConfig
key
-
public java.util.Map<java.lang.String,java.lang.Object> getPropertiesWithPrefix(java.lang.String prefix)
getPropertiesWithPrefix
in interface com.atlassian.config.ApplicationConfiguration
getPropertiesWithPrefix
in class com.atlassian.config.ApplicationConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |