Constructor and Description |
---|
VersionCheckSystem(java.lang.String currentVersion,
Locale locale,
PlanConfig config,
com.djrapitops.plugin.logging.console.PluginLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
disable()
Performs disable actions for the subsystem
|
void |
enable()
Performs enable actions for the subsystem.
|
java.lang.String |
getCurrentVersion() |
java.util.Optional<VersionInfo> |
getNewVersionAvailable() |
java.util.Optional<java.lang.String> |
getUpdateHtml() |
boolean |
isNewVersionAvailable() |
@Inject public VersionCheckSystem(@Named(value="currentVersion") java.lang.String currentVersion, Locale locale, PlanConfig config, com.djrapitops.plugin.logging.console.PluginLogger logger)
public boolean isNewVersionAvailable()
public void enable()
SubSystem
public void disable()
SubSystem
public java.util.Optional<VersionInfo> getNewVersionAvailable()
public java.util.Optional<java.lang.String> getUpdateHtml()
public java.lang.String getCurrentVersion()