Package ubic.gemma.core.config
Class Settings
java.lang.Object
ubic.gemma.core.config.Settings
Deprecated.
Convenience class to access Gemma properties defined in a resource. Methods will look in Gemma.properties,
project.properties, build.properties and in the system properties.
- Author:
- pavlidis
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringDeprecated.static StringDeprecated.static booleangetBoolean(String key) Deprecated.static booleangetBoolean(String key, boolean defaultValue) Deprecated.static StringDeprecated.static StringDeprecated.static intDeprecated.static intDeprecated.getKeys()Deprecated.static ObjectgetProperty(String key) Deprecated.static StringDeprecated.static StringDeprecated.static String[]getStringArray(String key) Deprecated.static voidsetProperty(String key, Object val) Deprecated.
-
Constructor Details
-
Settings
public Settings()Deprecated.
-
-
Method Details
-
getAnalysisStoragePath
Deprecated.- Returns:
- The local directory where files generated by analyses are stored. It will end in a file separator ("/" on unix).
-
getAnalyticsKey
Deprecated. -
getBoolean
Deprecated. -
getBoolean
Deprecated. -
getDownloadPath
Deprecated.- Returns:
- The local directory where files downloaded/uploaded are stored. It will end in a file separator ("/" on unix).
-
getHostUrl
Deprecated.- Returns:
- host url e.g. http://gemma.msl.ubc.ca
-
getInt
Deprecated. -
getInt
Deprecated. -
getKeys
Deprecated. -
getProperty
Deprecated. -
setProperty
Deprecated. -
getString
Deprecated. -
getString
Deprecated. -
getStringArray
Deprecated.
-
SettingsConfigand usage ofValueto inject configurations. You can use@Value("${property}")as replacement.