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.Binding
public void setVariable(String name, Object value)
setVariable
in class groovy.lang.Binding
public boolean hasVariable(String name)
hasVariable
in class groovy.lang.Binding
public Map<String,Object> getVariables()
getVariables
in class groovy.lang.Binding
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class groovy.lang.Binding
public void setProperty(String property, Object newValue)
setProperty
in interface groovy.lang.GroovyObject
setProperty
in class groovy.lang.Binding
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.