Package com.djrapitops.plan.version
Class SpongeVersionChecker
java.lang.Object
com.djrapitops.plan.version.VersionChecker
com.djrapitops.plan.version.SpongeVersionChecker
- All Implemented Interfaces:
SubSystem
System for checking if new Version is available when the System initializes, using the Ore API.
-
Field Summary
Fields inherited from class com.djrapitops.plan.version.VersionChecker
config, currentVersion, errorLogger, locale, logger, newVersionAvailable, runnableFactory
-
Constructor Summary
ConstructorDescriptionSpongeVersionChecker(String currentVersion, Locale locale, PlanConfig config, net.playeranalytics.plugin.server.PluginLogger logger, net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, ErrorLogger errorLogger)
-
Method Summary
Methods inherited from class com.djrapitops.plan.version.VersionChecker
disable, enable, getCurrentVersion, getCurrentVersionButton, getNewVersionAvailable, getUpdateButton, getUpdateModal, isNewVersionAvailable
-
Constructor Details
-
SpongeVersionChecker
@Inject public SpongeVersionChecker(@Named("currentVersion") String currentVersion, Locale locale, PlanConfig config, net.playeranalytics.plugin.server.PluginLogger logger, net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, ErrorLogger errorLogger)
-
-
Method Details
-
loadVersionInfo
- Overrides:
loadVersionInfo
in classVersionChecker
-