public Set<ChainedComponent<?>> allComponents() {
        Set<ChainedComponent<?>> result = new LinkedHashSet<>();
        result.addAll(componentGroup.getComponents());

        for (CHAIN chain : allChains().allComponents()) {
            result.addAll(chain.getInnerComponents());
        }
        return result;
    }
Root config producer the whole chains model(contains chains and components).

@author Tony Vaagenes
@author gjoranv
config-model/src/main/java/com/yahoo/vespa/model/container/component/chain/Chains.java