public interface Updatable
| Modifier and Type | Method and Description |
|---|---|
File |
getFile()
Returns the plugin's .jar file.
|
ReleaseChannel |
getReleaseChannel()
Returns the release type of the currently running plugin.
|
String |
getVersion()
Returns the version of the plugin.
|
void |
updateNotify(String newVersion)
Invoked if new version has been downloaded and server should be restarted to install update.
|
File getFile()
String getVersion()
void updateNotify(String newVersion)
newVersion - the new version that has been downloadedReleaseChannel getReleaseChannel()
Copyright © 2015. All rights reserved.