groovy.lang
Class ScriptContext
java.lang.Object
|
+--groovy.lang.ScriptContext
- public class ScriptContext
- extends Object
Represents the variable bindings of a script which can be altered
from outside the script object.
- Version:
- $Revision: 1.1 $
- Author:
- James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptContext
public ScriptContext()
ScriptContext
public ScriptContext(String[] args)
- A helper constructor used in main(String[]) method calls
- Parameters:
args
- are the command line arguments from a main()
getVariable
public Object getVariable(String name)
setVariable
public void setVariable(String name,
Object value)
getVariables
public Map getVariables()
Copyright © 2003 The Codehaus. All Rights Reserved.