public String apply(final Map<String, String> map) {
            // partExtractors cope with null map
            final String name;
            if (partExtractors.isEmpty()) {
                name = "";
            } else {
                name = partExtractors.stream()
                        .map(func -> func.apply(map))
                        .collect(Collectors.joining());
            }

            LOGGER.debug("Generated name '{}' from attributeMap: {}", name, map);
            return name;
        }
Use the values in map to derive a string from the parsed template.
stroom-util/src/main/java/stroom/util/string/TemplateUtil.java