Package thredds.server.config
Class TdsUpdateConfigBean
- java.lang.Object
-
- thredds.server.config.TdsUpdateConfigBean
-
@Component public class TdsUpdateConfigBean extends Object
Created by sarms on 02/13/2015.- Since:
- 02/13/2015.
-
-
Constructor Summary
Constructors Constructor Description TdsUpdateConfigBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getLatestVersionInfo(String version)Retrieve the latest stable and development versions available from Unidata.booleanisLogVersionInfo()voidsetLogVersionInfo(boolean logVersionInfo)
-
-
-
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)
-
-