Class Settings

java.lang.Object
ubic.gemma.core.config.Settings

@Deprecated public class Settings extends Object
Deprecated.
This has been replaced with Spring-based configuration SettingsConfig and usage of Value 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:
  • Constructor Details

    • Settings

      public Settings()
      Deprecated.
  • Method Details

    • 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.
    • getKeys

      public static Iterator<String> getKeys()
      Deprecated.
    • getProperty

      public static Object getProperty(String key)
      Deprecated.
    • setProperty

      public static void setProperty(String key, Object val)
      Deprecated.
    • getString

      public static String getString(String key)
      Deprecated.
    • getString

      public static String getString(String key, String defaultValue)
      Deprecated.
    • getStringArray

      public static String[] getStringArray(String key)
      Deprecated.