public class VariableReplacementHelper extends Object
| Constructor and Description |
|---|
VariableReplacementHelper() |
| Modifier and Type | Method and Description |
|---|---|
String |
replaceVariables(String value,
Map<String,Map<String,String>> replacementsMap)
Performs variable replacement on the supplied String value using values from the replacementsMap.
|
public String replaceVariables(String value, Map<String,Map<String,String>> replacementsMap) throws org.apache.ambari.server.AmbariException
value - a String containing zero or more variables to be replacedreplacementsMap - a Map of data used to perform the variable replacementsorg.apache.ambari.server.AmbariExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.