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 |
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.