public class BambooApplicationConfig
extends com.atlassian.config.ApplicationConfig
Constructor and Description |
---|
BambooApplicationConfig() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getPropertiesWithPrefix(String prefix) |
Object |
getProperty(Object key)
Gets the property and then, if a string, the attempt to replace
BambooSetupConstants.BAMBOO_HOME_CONSTANT
with the ApplicationConfig.getApplicationHome() |
String |
getStartupBuildNumber()
Returns the build number that Bamboo was on before any upgrade tasks have ran.
|
void |
load() |
configFileExists, getApplicationHome, getApplicationVersion, getBooleanProperty, getBuildNumber, getConfigurationFileName, getCurrentSetupStep, getIntegerProperty, getMajorVersion, getMinorVersion, getProperties, getSetupType, isApplicationHomeValid, isSetupComplete, removeProperty, reset, save, setApplicationHome, setBuildNumber, setConfigurationFileName, setConfigurationPersister, setCurrentSetupStep, setInitialProperties, setMajorVersion, setMinorVersion, setProperty, setProperty, setProperty, setSetupComplete, setSetupType
public Object getProperty(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 Map<String,Object> getPropertiesWithPrefix(String prefix)
getPropertiesWithPrefix
in interface com.atlassian.config.ApplicationConfiguration
getPropertiesWithPrefix
in class com.atlassian.config.ApplicationConfig
public void load() throws com.atlassian.config.ConfigurationException
load
in interface com.atlassian.config.ApplicationConfiguration
load
in class com.atlassian.config.ApplicationConfig
com.atlassian.config.ConfigurationException
@Nullable public String getStartupBuildNumber()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.