Class PlanSystem
java.lang.Object
com.djrapitops.plan.PlanSystem
- All Implemented Interfaces:
SubSystem
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlanSystem(PlanFiles files, ConfigSystem configSystem, VersionChecker versionChecker, LocaleSystem localeSystem, DBSystem databaseSystem, CacheSystem cacheSystem, ListenerSystem listenerSystem, TaskSystem taskSystem, ServerInfo serverInfo, WebServerSystem webServerSystem, Processing processing, ImportSystem importSystem, ExportSystem exportSystem, DeliveryUtilities deliveryUtilities, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger, dev.vankka.dependencydownload.ApplicationDependencyManager applicationDependencyManager, ApiServices apiServices, PlanAPI.PlanAPIHolder apiHolder, GatheringUtilities gatheringUtilities) -
Method Summary
Modifier and TypeMethodDescriptionvoiddisable()Performs disable actions for the subsystemvoidenable()Performs enable actions for the subsystem.voidEnables only the systems that are required forPlanCommand.voidEnables the rest of the systems that are not enabled inenableForCommands().static longboolean
-
Field Details
-
LAST_RELOAD
-
-
Constructor Details
-
PlanSystem
@Inject public PlanSystem(PlanFiles files, ConfigSystem configSystem, VersionChecker versionChecker, LocaleSystem localeSystem, DBSystem databaseSystem, CacheSystem cacheSystem, ListenerSystem listenerSystem, TaskSystem taskSystem, ServerInfo serverInfo, WebServerSystem webServerSystem, Processing processing, ImportSystem importSystem, ExportSystem exportSystem, DeliveryUtilities deliveryUtilities, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger, dev.vankka.dependencydownload.ApplicationDependencyManager applicationDependencyManager, ApiServices apiServices, PlanAPI.PlanAPIHolder apiHolder, GatheringUtilities gatheringUtilities)
-
-
Method Details
-
getServerEnableTime
public static long getServerEnableTime() -
enableForCommands
public void enableForCommands()Enables only the systems that are required forPlanCommand.- See Also:
-
enableOtherThanCommands
public void enableOtherThanCommands()Enables the rest of the systems that are not enabled inenableForCommands(). -
enable
-
disable
-
getVersionChecker
-
getConfigSystem
-
getPlanFiles
-
getDatabaseSystem
-
getListenerSystem
-
getTaskSystem
-
getWebServerSystem
-
getImportSystem
-
getExportSystem
-
getServerInfo
-
getCacheSystem
-
getProcessing
-
getLocaleSystem
-
getDeliveryUtilities
-
getGatheringUtilities
-
isEnabled
public boolean isEnabled() -
getApiServices
-