Package me.hsgamer.hscore.checker.github
Class GithubReleaseChecker
java.lang.Object
me.hsgamer.hscore.checker.github.GithubReleaseChecker
- All Implemented Interfaces:
VersionChecker
The release version checker for the GitHub repository
-
Constructor Summary
ConstructorDescriptionGithubReleaseChecker
(String repo) Create a new checkerGithubReleaseChecker
(String repo, UserAgent userAgent) Create a new checker -
Method Summary
-
Constructor Details
-
GithubReleaseChecker
Create a new checker- Parameters:
repo
- the repositoryuserAgent
- the user agent
-
GithubReleaseChecker
Create a new checker- Parameters:
repo
- the repository
-
-
Method Details
-
getVersion
Description copied from interface:VersionChecker
Get the version- Specified by:
getVersion
in interfaceVersionChecker
- Returns:
- the version
-