Skip navigation links
A C D G I L N R S T U V 

A

allVersions() - Method in class de.griefed.versionchecker.GitHubChecker
Gather a list of all available versions for the given repository.
allVersions() - Method in class de.griefed.versionchecker.GitLabChecker
Gather a list of all available versions for the given repository.
allVersions() - Method in class de.griefed.versionchecker.VersionChecker
 
ArchiveType - Enum in de.griefed.versionchecker
Archive types available throughout GitLab or GitHub releases.
assets() - Method in class de.griefed.versionchecker.Update
Get the ReleaseAsset-list of available assets for this update/release, wrapped in an Optional.

C

check(String, boolean) - Method in class de.griefed.versionchecker.GitHubChecker
Check whether an update/newer version is available for the given version.
check(String, boolean) - Method in class de.griefed.versionchecker.GitLabChecker
Check whether an update/newer version is available for the given version.
check(String, boolean) - Method in class de.griefed.versionchecker.VersionChecker
 
checkForUpdate(String, boolean) - Method in class de.griefed.versionchecker.VersionChecker
Check whether an update/newer version is available for the given version.
compareSemantics(String, String, Comparison) - Method in class de.griefed.versionchecker.VersionChecker
Compare the given new version against the given current version, depending on comparison type EQUAL, NEW, or EQUAL_OR_NEW.
Comparison - Enum in de.griefed.versionchecker
 

D

de.griefed.versionchecker - package de.griefed.versionchecker
 
description() - Method in class de.griefed.versionchecker.Update
Get the description of this update/release, wrapped in an Optional.

G

getAllVersions() - Method in class de.griefed.versionchecker.VersionChecker
 
getAssetsDownloadUrls(String) - Method in class de.griefed.versionchecker.GitHubChecker
Deprecated.
The aim of VersionChecker is not to browse a given repository, but to check for availability of updates, and if an update is available, work from there. See GitHubChecker.check(String, boolean) which returns an instance of Update. This provides everything you need.
getAssetsDownloadUrls(String) - Method in class de.griefed.versionchecker.GitLabChecker
Deprecated.
The aim of VersionChecker is not to browse a given repository, but to check for availability of updates, and if an update is available, work from there. See GitLabChecker.check(String, boolean) which returns an instance of Update. This provides everything you need.
getAssetsDownloadUrls(String) - Method in class de.griefed.versionchecker.VersionChecker
Deprecated.
getDownloadUrl(String) - Method in class de.griefed.versionchecker.GitHubChecker
Get the URL for the given release version.
getDownloadUrl(String) - Method in class de.griefed.versionchecker.GitLabChecker
Get the URL for the given release version.
getDownloadUrl(String) - Method in class de.griefed.versionchecker.VersionChecker
 
getObjectMapper() - Method in class de.griefed.versionchecker.VersionChecker
 
getReleaseAsset(String) - Method in class de.griefed.versionchecker.Update
Get a specific release-asset for a given name of said release.
getResponse(URL) - Method in class de.griefed.versionchecker.VersionChecker
Acquire the response from a given URL.
GitHubChecker - Class in de.griefed.versionchecker
Check a given GitHub repository for updates.
Versions are checked for semantic-release-formatting.
GitHubChecker(String) - Constructor for class de.griefed.versionchecker.GitHubChecker
Constructs a GitHub checker with the given user/repository combination to allow for version checks as well as version and URL acquisition.
GitHubChecker(String, String) - Constructor for class de.griefed.versionchecker.GitHubChecker
Constructs a GitHub checker with the given user/repository combination to allow for version checks as well as version and URL acquisition.
GitLabChecker - Class in de.griefed.versionchecker
Check a given GitLab repository for updates.
Versions are checked for semantic-release-formatting.
GitLabChecker(String) - Constructor for class de.griefed.versionchecker.GitLabChecker
Constructs a GitLab checker with the given GitLab-URL to allow for version checks as well as version and URL acquisition.
GitLabChecker(URL) - Constructor for class de.griefed.versionchecker.GitLabChecker
Constructs a GitLab checker with the given GitLab-URL to allow for version checks as well as version and URL acquisition.

I

isUpdateAvailable(String, boolean) - Method in class de.griefed.versionchecker.VersionChecker
Check for new versions in beta, alpha and regular release channels.

L

latestAlpha() - Method in class de.griefed.versionchecker.VersionChecker
Get the latest alpha release.
latestBeta() - Method in class de.griefed.versionchecker.VersionChecker
Get the latest beta release.
latestVersion(boolean) - Method in class de.griefed.versionchecker.GitHubChecker
Get the latest regular release, or pre-release if checkForPreRelease is true.
latestVersion(boolean) - Method in class de.griefed.versionchecker.GitLabChecker
Get the latest regular release.
latestVersion(boolean) - Method in class de.griefed.versionchecker.VersionChecker
 

N

name() - Method in class de.griefed.versionchecker.ReleaseAsset
Get the name of this asset.

R

refresh() - Method in class de.griefed.versionchecker.GitHubChecker
Refresh this GitHub-instance.
refresh() - Method in class de.griefed.versionchecker.GitLabChecker
Refresh this GitLab-instance.
refresh() - Method in class de.griefed.versionchecker.VersionChecker
 
ReleaseAsset - Class in de.griefed.versionchecker
A release asset is usually some form of compiled program or library.
ReleaseAsset(String, URL) - Constructor for class de.griefed.versionchecker.ReleaseAsset
Create a new release asset from an asset name and the URL to said asset download.
releaseDate() - Method in class de.griefed.versionchecker.Update
Get the LocalDate at which this release was published.

S

setAllVersions() - Method in class de.griefed.versionchecker.VersionChecker
 
setRepository() - Method in class de.griefed.versionchecker.GitHubChecker
Acquire this instances repository information and store it in a JsonNode for later use.
setRepository() - Method in class de.griefed.versionchecker.GitLabChecker
Set the repository JsonNode, for the given GITLAB_API-URL this GitLabChecker-instance was initialized with, so we can retrieve information from it later on.
setRepository() - Method in class de.griefed.versionchecker.VersionChecker
 
Source - Class in de.griefed.versionchecker
A source-archive is the source code of the repository for the tag of the parent-release.
Source(ArchiveType, URL) - Constructor for class de.griefed.versionchecker.Source
Create a new source from an ArchiveType and the download-URL to this archive.
sources() - Method in class de.griefed.versionchecker.Update
Get the Source-list of available source-archives for this update/release.
sourceTar() - Method in class de.griefed.versionchecker.Update
Get the tar-archive-source of this update.
sourceTarBz2() - Method in class de.griefed.versionchecker.Update
Get the tar.bz2-archive-source of this update.
sourceTarGz() - Method in class de.griefed.versionchecker.Update
Get the tar.gz-archive-source of this update.
sourceZip() - Method in class de.griefed.versionchecker.Update
Get the ZIP-archive-source of this update.

T

type() - Method in class de.griefed.versionchecker.Source
Get the ArchiveType of this source.

U

Update - Class in de.griefed.versionchecker
An instance of Update contains information about the release which is considered an update to the version which was used to acquire this Update-instance.
It gives you access to:
- The version.
- The description (release description as shown on release pages on GitLab or GitHub).
- The URL to this release for visiting it in your browser.
- The LocalDate at which this release was published/release.
- A list of ReleaseAsset, if any.
- A list of Source.
Update(String, String, URL, LocalDate, List<ReleaseAsset>, List<Source>) - Constructor for class de.griefed.versionchecker.Update
Create a new Update-instance.
url() - Method in class de.griefed.versionchecker.ReleaseAsset
Get the download-URL to this asset.
url() - Method in class de.griefed.versionchecker.Source
Get the download-URL for this source.
url() - Method in class de.griefed.versionchecker.Update
Get the URL to this release for use in your browser.

V

valueOf(String) - Static method in enum de.griefed.versionchecker.ArchiveType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.griefed.versionchecker.Comparison
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.griefed.versionchecker.ArchiveType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.griefed.versionchecker.Comparison
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Method in class de.griefed.versionchecker.Update
Get the version of this update/release.
VersionChecker - Class in de.griefed.versionchecker
Baseclass from wich GitHub and GitLab checks extend.
VersionChecker() - Constructor for class de.griefed.versionchecker.VersionChecker
 
A C D G I L N R S T U V 
Skip navigation links