Binding instances are not supposed to be used in a multi-threaded context.
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getProperty(String
the name of the property of interest property)Overrides default groovy. |
| public Object | |
| public Map | |
| public boolean | hasVariable(String
the name of the variable to check for name)Simple check for whether the binding contains a particular variable or not. |
| public void | removeVariable(String
the name of the variable to remove name)remove the variable with the specified name |
| public void | setProperty(String
the name of the property of interest property, Object the new value for the property newValue)Overrides default groovy. |
| public void | setVariable(String
the name of the variable to set name, Object the new value for the given variable value)Sets the value of the given variable |
| variables | back to summary |
|---|---|
| private Map<K, V> variables | |
| Binding | back to summary |
|---|---|
| public Binding() | |
| Binding | back to summary |
|---|---|
| public Binding(Map<K, V> variables) | |
| Binding | back to summary |
|---|---|
| public Binding(String[] args) A helper constructor used in main(String[]) method calls
| |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String property) Overrides default groovy. Overloaded to make variables appear as bean properties or via the subscript operator
| |
| getVariable | back to summary |
|---|---|
| public Object getVariable(String name) | |
| getVariables | back to summary |
|---|---|
| public Map | |
| hasVariable | back to summary |
|---|---|
| public boolean hasVariable(String name) Simple check for whether the binding contains a particular variable or not.
| |
| removeVariable | back to summary |
|---|---|
| public void removeVariable(String name) remove the variable with the specified name
| |
| setProperty | back to summary |
|---|---|
| public void setProperty(String property, Object newValue) Overrides default groovy. Overloaded to make variables appear as bean properties or via the subscript operator
| |
| setVariable | back to summary |
|---|---|
| public void setVariable(String name, Object value) Sets the value of the given variable | |