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).Get the semantic version.toString()
-
Method Details
-
getName
Get the release name (any text).- Returns:
-
getVersion
Get the semantic version.- Returns:
-
getUri
Get a URI to download the release (may be null if no URI is available).- Returns:
-
create
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
-