Class GroovyScripting
java.lang.Object
org.nuxeo.ecm.automation.core.scripting.GroovyScripting
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGroovyScripting
(boolean debug) GroovyScripting
(ClassLoader parent, boolean debug) GroovyScripting
(ClassLoader parent, org.codehaus.groovy.control.CompilerConfiguration cfg) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addClasspath
(String cp) void
addClasspathUrl
(URL cp) void
Class<?>
groovy.lang.GroovyClassLoader
static ClassLoader
groovy.lang.Script
groovy.lang.Script
Class<?>
-
Field Details
-
loader
protected final groovy.lang.GroovyClassLoader loader -
cache
-
-
Constructor Details
-
GroovyScripting
public GroovyScripting() -
GroovyScripting
public GroovyScripting(boolean debug) -
GroovyScripting
-
GroovyScripting
-
-
Method Details
-
getParentLoader
-
addClasspath
-
addClasspathUrl
-
clearCache
public void clearCache() -
loadClass
- Throws:
ClassNotFoundException
-
getGroovyClassLoader
public groovy.lang.GroovyClassLoader getGroovyClassLoader() -
eval
- Throws:
IOException
-
eval
- Throws:
IOException
-
compile
- Throws:
IOException
-
getScript
- Throws:
IOException
-
getScript
-