Class TdsUpdateConfigBean


  • @Component
    public class TdsUpdateConfigBean
    extends Object
    Created by sarms on 02/13/2015.
    Since:
    02/13/2015.
    • Constructor Detail

      • TdsUpdateConfigBean

        public TdsUpdateConfigBean()
    • Method Detail

      • isLogVersionInfo

        public boolean isLogVersionInfo()
      • setLogVersionInfo

        public void setLogVersionInfo​(boolean logVersionInfo)
      • getLatestVersionInfo

        public Map<String,​String> getLatestVersionInfo​(String version)
        Retrieve the latest stable and development versions available from Unidata. Needs to connect to https://www.unidata.ucar.edu in order to get the latest version numbers. The idea is to easily let users know if the version of TDS they are running is out of date, as this information is recorded in the serverStartup.log file.
        Returns:
        A hashmap containing versionTypes as key (i.e. "stable", "development") and their corresponding version numbers (i.e. 4.5.2)