Interface ConfigValues

All Known Implementing Classes:
ConfigFile

public interface ConfigValues
Read access to settings. Safe from any thread: a reload swaps all values at once.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    get(@NotNull ConfigKey<T> key)
    The value of key: the file's if it is valid, else the key's default.
  • Method Details

    • get

      @NotNull <T> T get(@NotNull @NotNull ConfigKey<T> key)
      The value of key: the file's if it is valid, else the key's default.
      Throws:
      IllegalArgumentException - if key is not part of these settings