Groovy 1.7.2

groovy.util
Class ConfigBinding

java.lang.Object
  groovy.lang.GroovyObjectSupport
      groovy.lang.Binding
          groovy.util.ConfigBinding

public class ConfigBinding
extends Binding

Since Groovy Script don't support overriding setProperty, we have to using a trick with the Binding to provide this functionality


Constructor Summary
ConfigBinding(Closure c)

 
Method Summary
void setVariable(String name, Object value)

 
Methods inherited from class Binding
getProperty, getVariable, getVariables, setProperty, setVariable
 
Methods inherited from class GroovyObjectSupport
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty
 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Constructor Detail

ConfigBinding

public ConfigBinding(Closure c)


 
Method Detail

setVariable

public void setVariable(String name, Object value)


 

Copyright © 2003-2010 The Codehaus. All rights reserved.