com.liferay.portal.scripting.groovy
Class GroovyExecutor
java.lang.Object
com.liferay.portal.scripting.groovy.GroovyExecutor
- All Implemented Interfaces:
- ScriptingExecutor
public class GroovyExecutor
- extends Object
- implements ScriptingExecutor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CACHE_NAME
public static final String CACHE_NAME
LANGUAGE
public static final String LANGUAGE
- See Also:
- Constant Field Values
GroovyExecutor
public GroovyExecutor()
clearCache
public void clearCache()
- Specified by:
clearCache
in interface ScriptingExecutor
getLanguage
public String getLanguage()
- Specified by:
getLanguage
in interface ScriptingExecutor
eval
public Map<String,Object> eval(Set<String> allowedClasses,
Map<String,Object> inputObjects,
Set<String> outputNames,
String script)
throws ScriptingException
- Specified by:
eval
in interface ScriptingExecutor
- Throws:
ScriptingException
getCompiledScript
protected groovy.lang.Script getCompiledScript(String script)