Package qupath.lib.gui.extensions
Class UpdateChecker.ReleaseVersion
java.lang.Object
qupath.lib.gui.extensions.UpdateChecker.ReleaseVersion
- Enclosing class:
UpdateChecker
Class to represent a release version. Used to provide an update link, if available.
-
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateChecker.ReleaseVersionCreate a newUpdateChecker.ReleaseVersion.getName()Get the release name (any text).getUri()Get a URI to download the release (may be null if no URI is available).qupath.lib.common.VersionGet the semantic version.toString()
-
Method Details
-
getName
Get the release name (any text).- Returns:
-
getVersion
public qupath.lib.common.Version getVersion()Get the semantic version.- Returns:
-
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, qupath.lib.common.Version version, URI uri) Create a newUpdateChecker.ReleaseVersion.- Parameters:
name- a user-friendly name for the projectversion- semantic versionuri- URI for downloading the release (may be null)- Returns:
-
toString
-