Class SoftwareUpdaterImpl

java.lang.Object
org.verapdf.apps.SoftwareUpdaterImpl
All Implemented Interfaces:
SoftwareUpdater

public class SoftwareUpdaterImpl extends Object implements SoftwareUpdater
Version:
0.1 Created 26 May 2017:01:23:43
Author:
Carl Wilson carlwilson AT github
  • Method Details

    • isOnline

      public boolean isOnline()
      Specified by:
      isOnline in interface SoftwareUpdater
      Returns:
      true if the online version information service is available
    • getLatestAppsVersion

      public SemanticVersionNumber getLatestAppsVersion()
      Specified by:
      getLatestAppsVersion in interface SoftwareUpdater
      Returns:
      the latest available version of the Greenfield veraPDF apps package
    • isUpdateAvailable

      public boolean isUpdateAvailable()
      Specified by:
      isUpdateAvailable in interface SoftwareUpdater
      Returns:
      true if there's a later version of the apps available
    • isUpdateAvailable

      public boolean isUpdateAvailable(String versionString)
      Specified by:
      isUpdateAvailable in interface SoftwareUpdater
      Returns:
      true if there's a later version of the apps than that indicated by the passed string
    • isUpdateAvailable

      public boolean isUpdateAvailable(ReleaseDetails details)
      Specified by:
      isUpdateAvailable in interface SoftwareUpdater
      Returns:
      true if there's a later version of the apps than that indicated by the passed ReleaseDetails
    • getLatestVersion

      public String getLatestVersion(String versionString)
      Specified by:
      getLatestVersion in interface SoftwareUpdater
      Returns:
      The latest version string for the software whose version string is passed
    • getLatestVersion

      public String getLatestVersion(ReleaseDetails details)
      Specified by:
      getLatestVersion in interface SoftwareUpdater
      Returns:
      The latest version string for the software whose version string is passed