public class ScriptingUtil
extends Object
Constructor and Description |
---|
ScriptingUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
clearCache(String language) |
static ScriptingExecutor |
createScriptingExecutor(String language,
boolean executeInSeparateThread) |
static Map<String,Object> |
eval(Set<String> allowedClasses,
Map<String,Object> inputObjects,
Set<String> outputNames,
String language,
String script) |
static Set<String> |
getSupportedLanguages() |
public static void clearCache(String language) throws ScriptingException
ScriptingException
public static ScriptingExecutor createScriptingExecutor(String language, boolean executeInSeparateThread)
public static Map<String,Object> eval(Set<String> allowedClasses, Map<String,Object> inputObjects, Set<String> outputNames, String language, String script) throws ScriptingException
ScriptingException
public static Set<String> getSupportedLanguages()