Liferay 6.2-ce-ga5

com.liferay.portal.scripting.groovy
Class GroovyExecutor

java.lang.Object
  extended by com.liferay.portal.kernel.scripting.BaseScriptingExecutor
      extended by com.liferay.portal.scripting.groovy.GroovyExecutor
All Implemented Interfaces:
ScriptingExecutor

public class GroovyExecutor
extends BaseScriptingExecutor


Constructor Summary
GroovyExecutor()
           
 
Method Summary
 Map<String,Object> eval(Set<String> allowedClasses, Map<String,Object> inputObjects, Set<String> outputNames, String script, ClassLoader... classLoaders)
           
protected  groovy.lang.GroovyShell getGroovyShell(ClassLoader[] classLoaders)
           
 String getLanguage()
           
 
Methods inherited from class com.liferay.portal.kernel.scripting.BaseScriptingExecutor
clearCache, eval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyExecutor

public GroovyExecutor()
Method Detail

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()

getGroovyShell

protected groovy.lang.GroovyShell getGroovyShell(ClassLoader[] classLoaders)

Liferay 6.2-ce-ga5