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.lang.String |
getCurrentVersionButton() |
java.util.Optional<VersionInfo> |
getNewVersionAvailable() |
java.util.Optional<java.lang.String> |
getUpdateButton() |
java.lang.String |
getUpdateModal() |
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> getUpdateButton()
public java.lang.String getCurrentVersionButton()
public java.lang.String getUpdateModal()
public java.lang.String getCurrentVersion()