class CmTemplateProcessor implements BlueprintTextProcessor {

    @Override
    public List<String> getHostTemplateNames() {
        return Optional.ofNullable(cmTemplate.getHostTemplates())
                .orElse(List.of())
                .stream()
                .map(ApiClusterTemplateHostTemplate::getRefName)
                .collect(Collectors.toList());
    }

    public  CmTemplateProcessor(@Nonnull String cmTemplateText);

}