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 String
Deprecated.static String
Deprecated.static boolean
getBoolean
(String key) Deprecated.static boolean
getBoolean
(String key, boolean defaultValue) Deprecated.static String
Deprecated.static String
Deprecated.static int
Deprecated.static int
Deprecated.getKeys()
Deprecated.static Object
getProperty
(String key) Deprecated.static String
Deprecated.static String
Deprecated.static String[]
getStringArray
(String key) Deprecated.static void
setProperty
(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.
-
SettingsConfig
and usage ofValue
to inject configurations. You can use@Value("${property}")
as replacement.