C G I L U 
All Classes All Packages

C

check() - Method in class com.technicjelle.UpdateChecker
Checks for updates from a GitHub repository's releases
This method blocks the thread it is called from
checkAsync() - Method in class com.technicjelle.UpdateChecker
Checks for updates from a GitHub repository's releases
This method does not block the thread it is called from
com.technicjelle - package com.technicjelle
 

G

getCurrentVersion() - Method in class com.technicjelle.UpdateChecker
Gets the current version of the program.
Useful in case you want to log a custom message.

Does not actually check for updates
getLatestVersion() - Method in class com.technicjelle.UpdateChecker
Checks if necessary and returns the latest available version
getUpdateMessage() - Method in class com.technicjelle.UpdateChecker
Checks if necessary and returns a message if an update is available.
The message will contain the latest version and a link to the GitHub releases page.
Useful if you don't use Java's own Logger and you want to use your own.
Example:
New version available: v2.5 (current: v2.4)
Download it at https://github.com/TechnicJelle/UpdateCheckerJava/releases/latest
getUpdateUrl() - Method in class com.technicjelle.UpdateChecker
Gets the URL to the GitHub releases page, where the latest version can be downloaded.
Useful in case you want to log a custom message.

Does not actually check for updates

I

isUpdateAvailable() - Method in class com.technicjelle.UpdateChecker
Checks if necessary and returns whether an update is available or not

L

logUpdateMessage(Logger) - Method in class com.technicjelle.UpdateChecker
This method logs a message to the console if an update is available
logUpdateMessageAsync(Logger) - Method in class com.technicjelle.UpdateChecker
This method logs a message to the console if an update is available, asynchronously

U

UpdateChecker - Class in com.technicjelle
Checks for updates on a GitHub repository
UpdateChecker(String, String, String) - Constructor for class com.technicjelle.UpdateChecker
Start the program with -Dtechnicjelle.updatechecker.disabled to disable the update checker
C G I L U 
All Classes All Packages