Class UpdateResult

java.lang.Object
my.celium.org.update.UpdateResult

public final class UpdateResult extends Object
Outcome of one update check. Either produced from a remote document or a cached value; updateAvailable() is only true when the remote version provably compares newer than the installed one.
  • Constructor Details

    • UpdateResult

      public UpdateResult(String modId, String currentVersion, String latestVersion, String url, boolean updateAvailable, long checkedAtMillis)
  • Method Details

    • modId

      public String modId()
    • currentVersion

      public String currentVersion()
    • latestVersion

      public String latestVersion()
    • url

      public String url()
      Download/project page, may be null.
    • updateAvailable

      public boolean updateAvailable()
    • checkedAtMillis

      public long checkedAtMillis()