Class TigerTypedConfigurationKey<T>

  • Type Parameters:
    T -

    public class TigerTypedConfigurationKey<T>
    extends Object
    Ease-of-use solution to retrieve configuration values from the TigerGlobalConfiguration. This object bundles key, type and default value, allowing to centralize all the information associated with a configuration key.
    • Constructor Detail

      • TigerTypedConfigurationKey

        public TigerTypedConfigurationKey​(String key,
                                          Class<T> type)
      • TigerTypedConfigurationKey

        public TigerTypedConfigurationKey​(String key,
                                          Class<T> type,
                                          T defaultValue)
    • Method Detail

      • getValueOrDefault

        public T getValueOrDefault()
      • putValue

        public void putValue​(T value)