Package com.comphenix.protocol.updater
Class SpigotUpdater
java.lang.Object
com.comphenix.protocol.updater.Updater
com.comphenix.protocol.updater.SpigotUpdater
Adapted version of the Bukkit updater for use with Spigot resources
-
Nested Class Summary
Nested classes/interfaces inherited from class com.comphenix.protocol.updater.Updater
Updater.UpdateResult, Updater.UpdateType -
Field Summary
Fields inherited from class com.comphenix.protocol.updater.Updater
announce, listeners, plugin, REPORT_CANNOT_UPDATE_PLUGIN, result, thread, type, versionFileName, versionGameVersion, versionLink, versionName, versionType -
Constructor Summary
ConstructorsConstructorDescriptionSpigotUpdater(org.bukkit.plugin.Plugin plugin, Updater.UpdateType type, boolean announce) -
Method Summary
Modifier and TypeMethodDescriptionGet the result of the update process.voidstart(Updater.UpdateType type) Methods inherited from class com.comphenix.protocol.updater.Updater
addListener, create, getLatestFileLink, getLatestGameVersion, getLatestName, getLatestType, isChecking, removeListener, shouldNotify, versionCheck, waitForThread
-
Constructor Details
-
SpigotUpdater
-
-
Method Details
-
start
-
getResult
Description copied from class:UpdaterGet the result of the update process. -
getSpigotVersion
- Throws:
IOException
-
getRemoteVersion
- Specified by:
getRemoteVersionin classUpdater
-