public class GroovyCompiledScript extends CompiledScript
Used to represent compiled Groovy scripts. Such scripts may be executed repeatedly
by Groovy's ScriptEngine
using the eval
method without reparsing overheads.
Adapted from original by Mike Grogan and A. Sundararajan
Constructor and description |
---|
GroovyCompiledScript(GroovyScriptEngineImpl engine, Class<?> clazz) |
Type Params | Return Type | Name and description |
---|---|---|
|
public Object |
eval(ScriptContext context) |
|
public ScriptEngine |
getEngine() |
Copyright © 2003-2024 The Apache Software Foundation. All rights reserved.