class CmTemplateProcessor implements BlueprintTextProcessor {

    @Override
    public Set<String> getHostGroupsWithComponent(String component) {
        return getComponentsByHostGroup().entrySet().stream()
                .filter(e -> e.getValue().contains(component))
                .map(Map.Entry::getKey)
                .collect(toSet());
    }

    public  CmTemplateProcessor(@Nonnull String cmTemplateText);

}