Groovy 2.2.0

groovy.util
[Groovy] Class ConfigBinding

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

class ConfigBinding
extends Binding

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


Property Summary
def callable

 
Constructor Summary
ConfigBinding(Closure c)

 
Method Summary
void setVariable(String name, Object value)

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

Property Detail

callable

def callable


 
Constructor Detail

ConfigBinding

ConfigBinding(Closure c)


 
Method Detail

setVariable

void setVariable(String name, Object value)


 

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