Interface ConfigurationConsumer<T extends ConfigurationNode<?>>

Type Parameters:
T - The configuration class
All Known Subinterfaces:
ConfigurationConsumer<T>

@Deprecated(since="1.6.1") public interface ConfigurationConsumer<T extends ConfigurationNode<?>>
Deprecated.
Since 1.6.1. Use configuration node values directly.
Represents a class which requires access to a Configuration Container and should be able to refresh its state when the configuration is reloaded from disk.
Since:
1.4.0
Author:
Isabel Maskrey
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    reloadConfiguration(T configuration)
    Deprecated.
    Reloads the configuration file.
  • Method Details

    • reloadConfiguration

      void reloadConfiguration(@NotNull T configuration)
      Deprecated.
      Reloads the configuration file.
      Parameters:
      configuration - The configuration file.
      Since:
      1.4.0