public class ParameterBuilder extends Object
| Constructor and Description | 
|---|
| ParameterBuilder() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | setVariablesInScript(String strScriptPathName,
                    HashMap<String,String> variables)
 Replaces variables in a DML or R script with the specified values. | 
| static void | setVariablesInScript(String strScriptDirectory,
                    String strScriptFile,
                    HashMap<String,String> variables)
 Replaces variables in a DML or R script with the specified values. | 
public static void setVariablesInScript(String strScriptPathName, HashMap<String,String> variables)
Replaces variables in a DML or R script with the specified values. A variable of format $$name$$ will be replaced where the name is used to identify the variable in the hashmap containing the belonging value.
strScriptPathName - filename of the DML scriptvariables - hashmap containing all the variables and their replacementspublic static void setVariablesInScript(String strScriptDirectory, String strScriptFile, HashMap<String,String> variables)
Replaces variables in a DML or R script with the specified values. A variable of format $$name$$ will be replaced where the name is used to identify the variable in the hashmap containing the belonging value.
strScriptDirectory - directory which contains the DML scriptstrScriptFile - filename of the DML scriptvariables - hashmap containing all the variables and their replacementsCopyright © 2021 The Apache Software Foundation. All rights reserved.