Package org.verapdf.apps
Class SoftwareUpdaterImpl
java.lang.Object
org.verapdf.apps.SoftwareUpdaterImpl
- All Implemented Interfaces:
SoftwareUpdater
- Version:
- 0.1 Created 26 May 2017:01:23:43
- Author:
- Carl Wilson carlwilson AT github
-
Method Summary
Modifier and TypeMethodDescriptiongetLatestVersion(String versionString) getLatestVersion(ReleaseDetails details) booleanisOnline()booleanbooleanisUpdateAvailable(String versionString) booleanisUpdateAvailable(ReleaseDetails details)
-
Method Details
-
isOnline
public boolean isOnline()- Specified by:
isOnlinein interfaceSoftwareUpdater- Returns:
- true if the online version information service is available
-
getLatestAppsVersion
- Specified by:
getLatestAppsVersionin interfaceSoftwareUpdater- Returns:
- the latest available version of the Greenfield veraPDF apps package
-
isUpdateAvailable
public boolean isUpdateAvailable()- Specified by:
isUpdateAvailablein interfaceSoftwareUpdater- Returns:
- true if there's a later version of the apps available
-
isUpdateAvailable
- Specified by:
isUpdateAvailablein interfaceSoftwareUpdater- Returns:
- true if there's a later version of the apps than that indicated by the passed string
-
isUpdateAvailable
- Specified by:
isUpdateAvailablein interfaceSoftwareUpdater- Returns:
- true if there's a later version of the apps than that indicated by the passed ReleaseDetails
-
getLatestVersion
- Specified by:
getLatestVersionin interfaceSoftwareUpdater- Returns:
- The latest version string for the software whose version string is passed
-
getLatestVersion
- Specified by:
getLatestVersionin interfaceSoftwareUpdater- Returns:
- The latest version string for the software whose version string is passed
-