|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the variable bindings of a script which can be altered from outside the script object or created outside of a script and passed into it.
Field Summary | |
---|---|
Map |
variables
|
Constructor Summary | |
Binding()
|
|
Binding(Map variables)
|
|
Binding(def args)
A helper constructor used in main(String[]) method calls |
Method Summary | |
---|---|
Object |
getProperty(String property)
Overloaded to make variables appear as bean properties or via the subscript operator |
Object |
getVariable(String name)
|
Map |
getVariables()
|
void |
setProperty(String property, Object newValue)
Overloaded to make variables appear as bean properties or via the subscript operator |
void |
setVariable(String name, Object value)
Sets the value of the given variable |
Constructor Detail |
---|
public Binding()
public Binding(Map variables)
public Binding(def args)
Method Detail |
---|
public Object getProperty(String property)
public Object getVariable(String name)
public Map getVariables()
public void setProperty(String property, Object newValue)
public void setVariable(String name, Object value)