[Java] Class CachingGroovyEngine
- org.codehaus.groovy.bsf.CachingGroovyEngine
public class CachingGroovyEngine extends GroovyEngine
A Caching implementation of the GroovyEngine
Fields inherited from class | Fields |
---|---|
class GroovyEngine | shell |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public Object |
eval(String source, int lineNo, int columnNo, Object script) Evaluate an expression. | |
public void |
exec(String source, int lineNo, int columnNo, Object script) Execute a script. | |
public void |
initialize(BSFManager mgr, String lang, Vector declaredBeans) Initialize the engine. |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class GroovyEngine | apply, call, declareBean, eval, exec, getEvalShell, initialize, undeclareBean |
Method Detail
public Object eval(String source, int lineNo, int columnNo, Object script)
Evaluate an expression.
public void exec(String source, int lineNo, int columnNo, Object script)
Execute a script.
public void initialize(BSFManager mgr, String lang, Vector declaredBeans)
Initialize the engine.
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/bsf/CachingGroovyEngine.html