public final class SpigotUpdater extends Updater
Updater.UpdateResult, Updater.UpdateTypeannounce, listeners, plugin, REPORT_CANNOT_UPDATE_PLUGIN, result, thread, type, versionFileName, versionGameVersion, versionLink, versionName, versionType| Constructor and Description |
|---|
SpigotUpdater(org.bukkit.plugin.Plugin plugin,
Updater.UpdateType type,
boolean announce) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRemoteVersion() |
String |
getResult()
Get the result of the update process.
|
String |
getSpigotVersion() |
void |
start(Updater.UpdateType type) |
addListener, create, getLatestFileLink, getLatestGameVersion, getLatestName, getLatestType, isChecking, removeListener, shouldNotify, versionCheck, waitForThreadpublic SpigotUpdater(org.bukkit.plugin.Plugin plugin,
Updater.UpdateType type,
boolean announce)
public void start(Updater.UpdateType type)
public String getResult()
Updaterpublic String getSpigotVersion() throws IOException
IOExceptionpublic String getRemoteVersion()
getRemoteVersion in class UpdaterCopyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.