public interface Scripting
Modifier and Type | Method and Description |
---|---|
void |
clearCache(String language) |
ScriptingExecutor |
createScriptingExecutor(String language,
boolean executeInSeparateThread) |
Map<String,Object> |
eval(Set<String> allowedClasses,
Map<String,Object> inputObjects,
Set<String> outputNames,
String language,
String script) |
Map<String,Object> |
eval(Set<String> allowedClasses,
Map<String,Object> inputObjects,
Set<String> outputNames,
String language,
String script,
String... servletContextNames)
Deprecated.
As of 7.0.0, replaced by
eval(Set, Map, Set, String,
String) |
void |
exec(Set<String> allowedClasses,
Map<String,Object> inputObjects,
String language,
String script) |
void |
exec(Set<String> allowedClasses,
Map<String,Object> inputObjects,
String language,
String script,
String... servletContextNames)
Deprecated.
As of 7.0.0, replaced by
exec(Set, Map, String,
String) |
Set<String> |
getSupportedLanguages() |
void clearCache(String language) throws ScriptingException
ScriptingException
ScriptingExecutor createScriptingExecutor(String language, boolean executeInSeparateThread)
Map<String,Object> eval(Set<String> allowedClasses, Map<String,Object> inputObjects, Set<String> outputNames, String language, String script) throws ScriptingException
ScriptingException
@Deprecated Map<String,Object> eval(Set<String> allowedClasses, Map<String,Object> inputObjects, Set<String> outputNames, String language, String script, String... servletContextNames) throws ScriptingException
eval(Set, Map, Set, String,
String)
ScriptingException
void exec(Set<String> allowedClasses, Map<String,Object> inputObjects, String language, String script) throws ScriptingException
ScriptingException
@Deprecated void exec(Set<String> allowedClasses, Map<String,Object> inputObjects, String language, String script, String... servletContextNames) throws ScriptingException
exec(Set, Map, String,
String)
ScriptingException
Set<String> getSupportedLanguages()