SkyLib
1.1.1
SkyLib
/
de.skyslycer.skylib.updater
/
PolymartPluginUpdater
Polymart
Plugin
Updater
public
class
PolymartPluginUpdater
extends
PluginUpdater
Utility class for getting the latest plugin version on Polymart.
Constructors
Functions
Constructors
Polymart
Plugin
Updater
Link copied to clipboard
public
void
PolymartPluginUpdater
(
int pluginId
)
Create a new Polymart plugin updater.
Functions
check
Link copied to clipboard
public
CheckResult
check
(
SkyPlugin
plugin
)
Check if there is a new update.
parse
Link copied to clipboard
public
String
parse
(
JsonObject
object
)
Parse the returned JsonObject into the latest version.
platform
Link copied to clipboard
public
PluginPlatform
platform
(
)
Get the updater platform.
plugin
Id
Link copied to clipboard
public
int
pluginId
(
)
Get the plugin id for the platform.