public class GroovyContext extends SimpleContext
systemContextNAMESPACES_KEY| Constructor and Description |
|---|
GroovyContext()
Constructor.
|
GroovyContext(Context parent,
GroovyEvaluator evaluator)
Constructor with parent context.
|
GroovyContext(Context parent,
Map<String,Object> initialVars,
GroovyEvaluator evaluator)
Constructor with initial vars.
|
| Modifier and Type | Method and Description |
|---|---|
protected GroovyEvaluator |
getGroovyEvaluator() |
protected String |
getScriptBaseClass() |
Map<String,Object> |
getVars()
Get the Map of all local variables in this Context.
|
protected void |
setGroovyEvaluator(GroovyEvaluator evaluator) |
protected void |
setScriptBaseClass(String scriptBaseClass) |
protected void |
setVars(Map<String,Object> vars)
Set the variables map.
|
public GroovyContext()
public GroovyContext(Context parent, Map<String,Object> initialVars, GroovyEvaluator evaluator)
initialVars - The initial set of variables.public GroovyContext(Context parent, GroovyEvaluator evaluator)
parent - The parent context.protected GroovyEvaluator getGroovyEvaluator()
protected void setGroovyEvaluator(GroovyEvaluator evaluator)
public Map<String,Object> getVars()
SimpleContextgetVars in interface ContextgetVars in class SimpleContextContext.getParent()protected void setVars(Map<String,Object> vars)
SimpleContextsetVars in class SimpleContextvars - The new Map of variables.protected void setScriptBaseClass(String scriptBaseClass)
protected String getScriptBaseClass()
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.