[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 | getProperty, getVariable, getVariables, hasVariable, setProperty, setVariable |
class GroovyObjectSupport | getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
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.5.14/html/gapi/groovy/util/ConfigBinding.html