public class StringSubstitutorUtil extends Object
Constructor and Description |
---|
StringSubstitutorUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
simpleExpand(String template,
Map<String,String> replacements)
Evaluates a template against set of replacement mappings.
|
public static String simpleExpand(String template, @NotNull Map<String,String> replacements)
template
- Template e.g. "{masterTaskName} ({index})"replacements
- Map of e.g. "masterTaskName" -> "Reconciliation", "index" -> "1"Copyright © 2020 Evolveum. All rights reserved.