Interface IConfigSpec<T extends IConfigSpec<T>>

All Superinterfaces:
com.electronwill.nightconfig.core.UnmodifiableConfig
All Known Implementing Classes:
ForgeConfigSpec

public interface IConfigSpec<T extends IConfigSpec<T>> extends com.electronwill.nightconfig.core.UnmodifiableConfig
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.electronwill.nightconfig.core.UnmodifiableConfig

    com.electronwill.nightconfig.core.UnmodifiableConfig.Entry
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    acceptConfig(com.electronwill.nightconfig.core.CommentedConfig data)
     
    void
     
    int
    correct(com.electronwill.nightconfig.core.CommentedConfig commentedFileConfig)
     
    boolean
    isCorrect(com.electronwill.nightconfig.core.CommentedConfig commentedFileConfig)
     
    boolean
     
    default T
     

    Methods inherited from interface com.electronwill.nightconfig.core.UnmodifiableConfig

    apply, apply, configFormat, contains, contains, entrySet, get, get, getByte, getByte, getByteOrElse, getByteOrElse, getChar, getChar, getCharOrElse, getCharOrElse, getEnum, getEnum, getEnum, getEnum, getEnumOrElse, getEnumOrElse, getEnumOrElse, getEnumOrElse, getEnumOrElse, getEnumOrElse, getEnumOrElse, getEnumOrElse, getInt, getInt, getIntOrElse, getIntOrElse, getIntOrElse, getIntOrElse, getLong, getLong, getLongOrElse, getLongOrElse, getLongOrElse, getLongOrElse, getOptional, getOptional, getOptionalEnum, getOptionalEnum, getOptionalEnum, getOptionalEnum, getOptionalInt, getOptionalInt, getOptionalLong, getOptionalLong, getOrElse, getOrElse, getOrElse, getOrElse, getRaw, getRaw, getShort, getShort, getShortOrElse, getShortOrElse, isEmpty, isNull, isNull, size, valueMap
  • Method Details

    • self

      default T self()
    • acceptConfig

      void acceptConfig(com.electronwill.nightconfig.core.CommentedConfig data)
    • isCorrecting

      boolean isCorrecting()
    • isCorrect

      boolean isCorrect(com.electronwill.nightconfig.core.CommentedConfig commentedFileConfig)
    • correct

      int correct(com.electronwill.nightconfig.core.CommentedConfig commentedFileConfig)
    • afterReload

      void afterReload()