org.sonar.server.platform
Class ServerSettings
java.lang.Object
org.sonar.api.config.Settings
org.sonar.server.platform.ServerSettings
- All Implemented Interfaces:
- BatchComponent, ServerComponent
public class ServerSettings
- extends Settings
Load settings in the following order (the last override the first) :
- general settings persisted in database
- file $SONAR_HOME/conf/sonar.properties
- environment variables
- system properties
- Since:
- 2.12
Constructor Summary |
ServerSettings(PropertyDefinitions definitions,
org.apache.commons.configuration.Configuration deprecatedConfiguration,
javax.servlet.ServletContext servletContext)
|
Methods inherited from class org.sonar.api.config.Settings |
addEnvironmentVariables, addProperties, addProperties, addSystemProperties, appendProperty, clear, createForComponent, getBoolean, getClearString, getDate, getDateTime, getDefaultValue, getDefinitions, getEncryption, getInt, getKeysStartingWith, getLong, getProperties, getString, getStringArray, getStringArrayBySeparator, hasDefaultValue, hasKey, removeProperty, setProperties, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEPLOY_DIR
public static final String DEPLOY_DIR
- See Also:
- Constant Field Values
ServerSettings
public ServerSettings(PropertyDefinitions definitions,
org.apache.commons.configuration.Configuration deprecatedConfiguration,
javax.servlet.ServletContext servletContext)
activateDatabaseSettings
public ServerSettings activateDatabaseSettings(PropertiesDao dao)
Copyright © 2009-2012 SonarSource. All Rights Reserved.