Class SpigetUpdate
java.lang.Object
org.inventivetalent.update.spiget.SpigetUpdateAbstract
org.inventivetalent.update.spiget.SpigetUpdate
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SpigetUpdate.DownloadFailReasonprotected final org.bukkit.plugin.PluginFields inherited from class org.inventivetalent.update.spiget.SpigetUpdateAbstract
currentVersion, latestResourceInfo, log, RESOURCE_INFO, RESOURCE_VERSION, resourceId, userAgent, versionComparator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbooleansetUserAgent(String userAgent) setVersionComparator(VersionComparator comparator) Methods inherited from class org.inventivetalent.update.spiget.SpigetUpdateAbstract
checkForUpdate, getLatestResourceInfo, getUserAgent, isVersionNewer
-
Field Details
-
plugin
protected final org.bukkit.plugin.Plugin plugin -
failReason
-
-
Constructor Details
-
SpigetUpdate
public SpigetUpdate(org.bukkit.plugin.Plugin plugin, int resourceId)
-
-
Method Details
-
setUserAgent
- Overrides:
setUserAgentin classSpigetUpdateAbstract
-
setVersionComparator
- Overrides:
setVersionComparatorin classSpigetUpdateAbstract
-
dispatch
- Specified by:
dispatchin classSpigetUpdateAbstract
-
downloadUpdate
public boolean downloadUpdate() -
getFailReason
-
getUpdaterProperties
-