Class ConfigurationValueService


  • @Component("tapirConfigurationValueService")
    public class ConfigurationValueService
    extends java.lang.Object
    The ConfigurationValueService is responsible for providing the value of a given Configuration.
    Since:
    2.0.0
    Author:
    Oliver Libutzki <[email protected]>
    • Constructor Detail

      • ConfigurationValueService

        public ConfigurationValueService()
    • Method Detail

      • getValue

        public <T> T getValue​(java.lang.Class<? extends Configuration<T>> configuration)
        Returns the value of the given Configuration.
        Type Parameters:
        T - Specifies the type of the configuration value
        Parameters:
        configuration - The configuration which's value should be returned
        Returns:
        the value
        Since:
        2.0.0