[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

Properties
Type Name and description
def callable

Constructor Summary

Constructors
Constructor and description
ConfigBinding (Closure c)

Methods Summary

Methods
Type Params Return Type Name and description
void setVariable(String name, Object value)

Inherited Methods Summary

Inherited Methods
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