Class Config


  • public final class Config
    extends java.lang.Object
    Class to hold the global preferences object and the provider of base directories.
    Since:
    12847
    • Constructor Detail

    • Method Detail

      • getPref

        public static IPreferences getPref()
        Get the preferences.
        Returns:
        the preferences
        Since:
        12847
      • getUrls

        public static IUrls getUrls()
        Get class that provides the value of certain URLs
        Returns:
        the global IUrls instance
        Since:
        14119
      • setPreferencesInstance

        public static void setPreferencesInstance​(IPreferences preferences)
        Install the global preference instance.
        Parameters:
        preferences - the global preference instance to set (must not be null)
        Since:
        12847
      • setBaseDirectoriesProvider

        public static void setBaseDirectoriesProvider​(IBaseDirectories baseDirectories)
        Install the global base directories provider.
        Parameters:
        baseDirectories - the global base directories provider instance to set (must not be null)
        Since:
        12855
      • setUrlsProvider

        public static void setUrlsProvider​(IUrls urls)
        Install the global URLs provider.
        Parameters:
        urls - the global URLs provider instance to set (must not be null)
        Since:
        14119