Package thredds.server.config
Class TdsUpdateConfigBean
java.lang.Object
thredds.server.config.TdsUpdateConfigBean
Created by sarms on 02/13/2015.
- Since:
- 02/13/2015.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLatestVersionInfo(String version) Retrieve the latest stable and development versions available from Unidata.booleanvoidsetLogVersionInfo(boolean logVersionInfo)
-
Constructor Details
-
TdsUpdateConfigBean
public TdsUpdateConfigBean()
-
-
Method Details
-
isLogVersionInfo
public boolean isLogVersionInfo() -
setLogVersionInfo
public void setLogVersionInfo(boolean logVersionInfo) -
getLatestVersionInfo
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)
-