Interface ConfigProducerRoot

    • Method Detail

      • addDescendant

        void addDescendant​(java.lang.String id,
                           AbstractConfigProducer descendant)
        Adds the given producer (at any depth level) as descendant to this root nodes.
        Parameters:
        id - string id of descendant
        descendant - the producer to add to this root node
      • getConfigIds

        java.util.Set<java.lang.String> getConfigIds()
        Returns:
        an unmodifiable copy of the set of configIds in this root.
      • getConfig

        com.yahoo.config.ConfigInstance.Builder getConfig​(com.yahoo.config.ConfigInstance.Builder builder,
                                                          java.lang.String configId)
      • getConfig

        <CONFIGTYPE extends com.yahoo.config.ConfigInstance> CONFIGTYPE getConfig​(java.lang.Class<CONFIGTYPE> clazz,
                                                                                  java.lang.String configId)
        Resolves config of the given type and config id.
        Parameters:
        clazz - The type of config
        configId - The config id
        Returns:
        A config instance of the given type
      • getAdmin

        Admin getAdmin()