Class 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:
    PropertySourcesConfiguration
    • Constructor Detail

      • Settings

        public Settings()
        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).
      • getInt

        public static int getInt​(String key)
        Deprecated.
      • getInt

        public static int getInt​(String key,
                                 int defaultValue)
        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.