[Groovy] Class ConfigBinding
- groovy.util.ConfigBinding
Since Groovy Script doesn't support overriding setProperty, we use a trick with the Binding to provide this functionality
Properties Summary
Type | Name and description |
---|---|
def |
callable |
Constructor Summary
Constructor and description |
---|
ConfigBinding
(Closure c) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
void |
setVariable(String name, Object value) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Binding | setProperty, getProperty, getVariables, hasVariable, setVariable, getVariable, invokeMethod, getMetaClass, setMetaClass, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class GroovyObjectSupport | setProperty, getProperty, invokeMethod, getMetaClass, setMetaClass, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail
def callable
Constructor Detail
ConfigBinding(Closure c)
Method Detail
void setVariable(String name, Object value)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/util/ConfigBinding.html