Interface SubSystem

All Known Subinterfaces:
JSONStorage
All Known Implementing Classes:
ActiveCookieStore, BukkitConfigSystem, BukkitDBSystem, BukkitListenerSystem, BungeeListenerSystem, BungeeServerInfo, CacheSystem, ConfigSystem, DBSystem, ExportSystem, FabricConfigSystem, FabricDBSystem, FabricListenerSystem, FabricVersionChecker, GeolocationCache, ImportSystem, JSONFileStorage, JSONMemoryStorageShim, ListenerSystem, LocaleSystem, NetworkSettingManager, NicknameCache, NukkitConfigSystem, NukkitDBSystem, NukkitListenerSystem, PlanFiles, PlanSystem, Processing, ProxyConfigSystem, ProxyDBSystem, ServerInfo, ServerServerInfo, ServerSettingsManager, SpongeConfigSystem, SpongeDBSystem, SpongeListenerSystem, SpongePlanFiles, SpongeVersionChecker, TabCompleteCache, TaskSystem, Theme, VelocityListenerSystem, VelocityServerInfo, VersionChecker, WebServer, WebServerSystem

public interface SubSystem
Represents a system that can be enabled and disabled.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Performs disable actions for the subsystem
    void
    Performs enable actions for the subsystem.
  • Method Details

    • enable

      void enable()
      Performs enable actions for the subsystem.
      Throws:
      EnableException - If an error occurred during enable and it is fatal to the subsystem.
    • disable

      void disable()
      Performs disable actions for the subsystem