Since Groovy Script doesn't support overriding setProperty, we use a trick with the Binding to provide this functionality
| Constructor and description |
|---|
ConfigBinding
(Closure c) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
setVariable(String name, Object value) |
| Methods inherited from class | Name |
|---|---|
class Binding |
getProperty, getVariable, getVariables, hasVariable, setProperty, setVariable |
class GroovyObjectSupport |
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Copyright © 2003-2018 The Apache Software Foundation. All rights reserved.