com.liferay.portal.scripting.groovy
Class GroovyExecutor
java.lang.Object
com.liferay.portal.kernel.scripting.BaseScriptingExecutor
com.liferay.portal.scripting.groovy.GroovyExecutor
- All Implemented Interfaces:
- ScriptingExecutor
public class GroovyExecutor
- extends BaseScriptingExecutor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroovyExecutor
public GroovyExecutor()
clearCache
public void clearCache()
- Specified by:
clearCache
in interface ScriptingExecutor
- Overrides:
clearCache
in class BaseScriptingExecutor
eval
public Map<String,Object> eval(Set<String> allowedClasses,
Map<String,Object> inputObjects,
Set<String> outputNames,
String script,
ClassLoader... classLoaders)
throws ScriptingException
- Throws:
ScriptingException
getLanguage
public String getLanguage()
getCompiledScript
protected groovy.lang.Script getCompiledScript(String script,
ClassLoader[] classLoaders)
getGroovyShell
protected groovy.lang.GroovyShell getGroovyShell(ClassLoader[] classLoaders)