Class ButlerUpdateCheckResponse

java.lang.Object
de.eldoria.eldoutilities.updater.butlerupdater.ButlerUpdateCheckResponse

public class ButlerUpdateCheckResponse extends Object
Web Response for butler application.
Since:
1.1.0
  • Constructor Details

    • ButlerUpdateCheckResponse

      public ButlerUpdateCheckResponse(boolean newVersionAvailable, String latestVersion, String hash)
      Create an ew Update check response.
      Parameters:
      newVersionAvailable - whether a new version is available or not
      latestVersion - latest available version
      hash - hash of the latest version
  • Method Details

    • isNewVersionAvailable

      public boolean isNewVersionAvailable()
    • latestVersion

      public String latestVersion()
    • hash

      public String hash()