Interface CodexService


public interface CodexService
Service responsible for loading and providing the global DreamVoice configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Codex
    Retrieves the active configuration container.
    @NotNull WallConfig
    Retrieves the acoustic Wall configuration.
    default boolean
    isModuleEnabled(@NotNull String moduleName)
    Checks if a module is enabled.
    void
    Reloads the configuration from disk.
  • Method Details

    • load

      void load()
      Reloads the configuration from disk.
    • getConfig

      @NotNull @NotNull Codex getConfig()
      Retrieves the active configuration container.
      Returns:
      the active Codex instance
    • getWallConfig

      @NotNull @NotNull WallConfig getWallConfig()
      Retrieves the acoustic Wall configuration.
      Returns:
      the active WallConfig
    • isModuleEnabled

      default boolean isModuleEnabled(@NotNull @NotNull String moduleName)
      Checks if a module is enabled.
      Parameters:
      moduleName - the module identifier
      Returns:
      true if enabled