public interface Updatable
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription(UpdaterKey key)
Returns details from the plugin description
|
ReleaseType |
getReleaseType()
Returns the release type of the currently running plugin
|
void |
updateInterruptedException(InterruptedException e)
Invoked if the updater thread is interrupted
|
void |
updateIOException(IOException e)
Invoked if an IOException occurs while checking for updates
|
void |
updateNotifyDownloading()
Invoked if new version has been found and being downloaded
|
void |
updateNotifyReadUpdatedProjectPage()
Invoked if new version is a significant update and the bukkit project page should be visited to check for big changes
|
void |
updateNotifyRestarting()
Invoked if new version has been downloaded and server should be restarted to install update.
|
void updateIOException(IOException e)
e - void updateInterruptedException(InterruptedException e)
e - String getDescription(UpdaterKey key)
key - UpdaterKey (MAIN_AUTHOR, NAME or VERSION)void updateNotifyDownloading()
void updateNotifyRestarting()
void updateNotifyReadUpdatedProjectPage()
ReleaseType getReleaseType()
Copyright © 2015. All rights reserved.