Class LynaUpdateResponse

java.lang.Object
de.eldoria.eldoutilities.updater.lynaupdater.LynaUpdateResponse
All Implemented Interfaces:
UpdateResponse

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

    • LynaUpdateResponse

      public LynaUpdateResponse(boolean update, String latest, long published)
      Create a new Update check response.
      Parameters:
      update - whether a new version is available or not
      latest - latest available version
      published -
  • Method Details

    • isUpdate

      public boolean isUpdate()
    • isOutdated

      public boolean isOutdated()
      Specified by:
      isOutdated in interface UpdateResponse
    • latestVersion

      public String latestVersion()
      Specified by:
      latestVersion in interface UpdateResponse
    • published

      public long published()
    • publishedDuration

      public String publishedDuration()