class PlaceholderResolver {

    @VisibleForTesting
    public static String replacePlaceholder(String originalString, String placeholderName, String placeholderValue) {
        return originalString.replaceAll("\\$\\{" + quote(placeholderName) + "(?:\\:[^\\}]*?)?\\}", placeholderValue);
    }

    public  PlaceholderResolver(ObjectNode rootNode, Map<String, String> externalProperties);

}