Package org.codehaus.groovy.jsr223
Class GroovyCompiledScript
- java.lang.Object
- 
- javax.script.CompiledScript
- 
- org.codehaus.groovy.jsr223.GroovyCompiledScript
 
 
- 
 public class GroovyCompiledScript extends CompiledScript Used to represent compiled Groovy scripts. Such scripts may be executed repeatedly by Groovy'sScriptEngineusing theevalmethod without reparsing overheads. Adapted from original by Mike Grogan and A. Sundararajan
- 
- 
Constructor SummaryConstructors Constructor Description GroovyCompiledScript(GroovyScriptEngineImpl engine, Class<?> clazz)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Objecteval(ScriptContext context)ScriptEnginegetEngine()- 
Methods inherited from class javax.script.CompiledScripteval, eval
 
- 
 
- 
- 
- 
Constructor Detail- 
GroovyCompiledScriptpublic GroovyCompiledScript(GroovyScriptEngineImpl engine, Class<?> clazz) 
 
- 
 - 
Method Detail- 
evalpublic Object eval(ScriptContext context) throws ScriptException - Specified by:
- evalin class- CompiledScript
- Throws:
- ScriptException
 
 - 
getEnginepublic ScriptEngine getEngine() - Specified by:
- getEnginein class- CompiledScript
 
 
- 
 
-