Interface IConfig<T extends IConfig<T>>

Type Parameters:
T - The class itself
All Superinterfaces:
Serializable
All Known Subinterfaces:
ISubConfig<T,P>

public interface IConfig<T extends IConfig<T>> extends Serializable
An interface which represents a config.
  • Method Summary

    Modifier and Type
    Method
    Description
    The default configuration, set by the developer when implementing the class.
  • Method Details

    • defaultConfig

      T defaultConfig()
      The default configuration, set by the developer when implementing the class. Used for serialization.
      Returns:
      The default configuration