Package org.verapdf.apps
Interface SoftwareUpdater
-
- All Known Implementing Classes:
SoftwareUpdaterImpl
public interface SoftwareUpdater- Version:
- 0.1 Created 26 May 2017:01:05:39
- Author:
- Carl Wilson carlwilson AT github
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SemanticVersionNumbergetLatestAppsVersion()SemanticVersionNumbergetLatestPdfBoxAppsVersion()StringgetLatestVersion(String versionString)StringgetLatestVersion(ReleaseDetails details)booleanisOnline()booleanisUpdateAvailable()booleanisUpdateAvailable(String versionString)booleanisUpdateAvailable(ReleaseDetails details)
-
-
-
Method Detail
-
isOnline
boolean isOnline()
- Returns:
- true if the online version information service is available
-
getLatestAppsVersion
SemanticVersionNumber getLatestAppsVersion()
- Returns:
- the latest available version of the Greenfield veraPDF apps package
-
getLatestPdfBoxAppsVersion
SemanticVersionNumber getLatestPdfBoxAppsVersion()
- Returns:
- the latest available version of the PDFBox veraPDF apps package
-
isUpdateAvailable
boolean isUpdateAvailable()
- Returns:
- true if there's a later version of the apps available
-
isUpdateAvailable
boolean isUpdateAvailable(String versionString)
- Returns:
- true if there's a later version of the apps than that indicated by the passed string
-
isUpdateAvailable
boolean isUpdateAvailable(ReleaseDetails details)
- Returns:
- true if there's a later version of the apps than that indicated by the passed ReleaseDetails
-
getLatestVersion
String getLatestVersion(String versionString)
- Returns:
- The latest version string for the software whose version string is passed
-
getLatestVersion
String getLatestVersion(ReleaseDetails details)
- Returns:
- The latest version string for the software whose version string is passed
-
-