Package ubic.gemma.core.config
Class Settings
- java.lang.Object
-
- ubic.gemma.core.config.Settings
-
@Deprecated public class Settings extends Object
Deprecated.This has been replaced with Spring-based configurationSettingsConfig
and usage ofValue
to inject configurations. You can use@Value("${property}")
as replacement.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:
PropertySourcesConfiguration
-
-
Constructor Summary
Constructors Constructor Description Settings()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static String
getAnalysisStoragePath()
Deprecated.static String
getAnalyticsKey()
Deprecated.static boolean
getBoolean(String key)
Deprecated.static boolean
getBoolean(String key, boolean defaultValue)
Deprecated.static String
getDownloadPath()
Deprecated.static String
getHostUrl()
Deprecated.static int
getInt(String key)
Deprecated.static int
getInt(String key, int defaultValue)
Deprecated.static Iterator<String>
getKeys()
Deprecated.static Object
getProperty(String key)
Deprecated.static String
getString(String key)
Deprecated.static String
getString(String key, String defaultValue)
Deprecated.static void
setProperty(String key, Object val)
Deprecated.
-
-
-
Method Detail
-
getAnalysisStoragePath
public static String getAnalysisStoragePath()
Deprecated.- Returns:
- The local directory where files generated by analyses are stored. It will end in a file separator ("/" on unix).
-
getAnalyticsKey
public static String getAnalyticsKey()
Deprecated.
-
getBoolean
public static boolean getBoolean(String key)
Deprecated.
-
getBoolean
public static boolean getBoolean(String key, boolean defaultValue)
Deprecated.
-
getDownloadPath
public static String getDownloadPath()
Deprecated.- Returns:
- The local directory where files downloaded/uploaded are stored. It will end in a file separator ("/" on unix).
-
getHostUrl
public static String getHostUrl()
Deprecated.- Returns:
- host url e.g. http://gemma.msl.ubc.ca
-
getInt
public static int getInt(String key)
Deprecated.
-
getInt
public static int getInt(String key, int defaultValue)
Deprecated.
-
-