public class ExpressionHandlerUtils extends Object
| Constructor and Description |
|---|
ExpressionHandlerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.mule.weave.v2.runtime.DataWeaveScript |
compileDataWeaveScript(String weaveScript,
String[] implicitInputs) |
static String |
curateScript(String script)
Only needed when the script comes from a user
|
static String |
evaluate(org.mule.weave.v2.runtime.DataWeaveScript script,
Map<String,String> map,
String contextInvoker) |
public static org.mule.weave.v2.runtime.DataWeaveScript compileDataWeaveScript(String weaveScript, String[] implicitInputs) throws org.mule.weave.v2.parser.phase.CompilationException
weaveScript - parameterized weave script which might have the extra '#['/']' we need to removeorg.mule.weave.v2.parser.phase.CompilationException - if the user consumes bindings that are not present, taken from #implicitInputspublic static String evaluate(org.mule.weave.v2.runtime.DataWeaveScript script, Map<String,String> map, String contextInvoker)
Copyright © 2023. All rights reserved.