Class AbstractConf

    • Constructor Detail

      • AbstractConf

        public AbstractConf()
    • Method Detail

      • getClasses

        public <T> Collection<T> getClasses​(String key,
                                            Class<T> cls)
        Gets a required parameter as a list of instances of type Conf.
        Specified by:
        getClasses in interface Conf
        Type Parameters:
        T - the expected type.
        Parameters:
        key - the parameter path.
        cls - the class of the .
        Returns:
        a new Collection of Conf.
      • getClass

        public <T> T getClass​(String key,
                              Class<T> cls)
        Gets a required parameter as an instances of type Conf.
        Specified by:
        getClass in interface Conf
        Type Parameters:
        T - the expected type.
        Parameters:
        key - the parameter path.
        cls - the class of the .
        Returns:
        a new Collection of Conf.