Package com.jeff_media.updatechecker
Interface VersionSupplier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Used to supply the latest version of your plugin in conjunction with
UpdateChecker(JavaPlugin, VersionSupplier)
-
Method Summary
Modifier and TypeMethodDescriptionReturns the latest version of your plugin.
-
Method Details
-
getLatestVersionString
Returns the latest version of your plugin. Gets called async so do not access any Bukkit API.- Throws:
IOException
-