public interface ScriptVariableReplacer
Replaces the variables within a script.
Modifier and Type | Method and Description |
---|---|
Script |
replaceScriptVariables(Script script,
Replacements replacements,
Context context)
Replaces the variables within the script.
|
Script replaceScriptVariables(Script script, Replacements replacements, Context context) throws ReplacementException
Replaces the variables within the script.
script
- The script containing the variables.replacements
- The replacements.context
- The context.IllegalArgumentException
- If any of the parameters are null
.ReplacementException
- If an error occurs during the replacement.Copyright © 2015–2019. All rights reserved.