public class GroovyContextBinding extends groovy.lang.Binding implements Serializable
| Constructor and Description |
|---|
GroovyContextBinding(GroovyContext context) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(String property) |
Object |
getVariable(String name) |
Map<String,Object> |
getVariables() |
boolean |
hasVariable(String name) |
void |
setProperty(String property,
Object newValue) |
void |
setVariable(String name,
Object value) |
public GroovyContextBinding(GroovyContext context)
public Object getVariable(String name)
getVariable in class groovy.lang.Bindingpublic void setVariable(String name, Object value)
setVariable in class groovy.lang.Bindingpublic boolean hasVariable(String name)
hasVariable in class groovy.lang.Bindingpublic Map<String,Object> getVariables()
getVariables in class groovy.lang.Bindingpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class groovy.lang.Bindingpublic void setProperty(String property, Object newValue)
setProperty in interface groovy.lang.GroovyObjectsetProperty in class groovy.lang.BindingCopyright © 2005–2015 The Apache Software Foundation. All rights reserved.