Class UpdateChecker.ReleaseVersion

java.lang.Object
qupath.lib.gui.extensions.UpdateChecker.ReleaseVersion
Enclosing class:
UpdateChecker

public static class UpdateChecker.ReleaseVersion extends Object
Class to represent a release version. Used to provide an update link, if available.
  • Method Details

    • getName

      public String getName()
      Get the release name (any text).
      Returns:
    • getVersion

      public Version getVersion()
      Get the semantic version.
      Returns:
    • getUri

      public URI getUri()
      Get a URI to download the release (may be null if no URI is available).
      Returns:
    • create

      public static UpdateChecker.ReleaseVersion create(String name, Version version, URI uri)
      Parameters:
      name - a user-friendly name for the project
      version - semantic version
      uri - URI for downloading the release (may be null)
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object