Package: groovy.util

## [Groovy] Class ConfigBinding

- groovy.util.ConfigBinding

-     class ConfigBinding
      extends Binding

  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
    --- | ---
    `Object` | `callable` Callback used to handle assigned variables.

  - ### Constructor Summary

    Constructors
    Constructor and description
    `ConfigBinding(Closure c)` Creates a binding backed by the specified callback.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `void` | `setVariable(String name, Object value)` Sets the value of the given variable Parameters: `name` - the name of the variable to set `value` - the new value for the given variable

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Binding` | `getProperty, getVariable, getVariables, hasVariable, removeVariable, setProperty, setVariable`
    `class GroovyObjectSupport` | `getMetaClass, setMetaClass`

- - ### Property Detail

    - #### Object callable

      Callback used to handle assigned variables.

  - ### Constructor Detail

    - #### ConfigBinding(Closure c)

      Creates a binding backed by the specified callback.

      Parameters:
        `c` - the callback used for assignments

  - ### Method Detail

    - #### void setVariable(String name, Object value)

      Sets the value of the given variable

      Parameters:
        `name` - the name of the variable to set
        `value` - the new value for the given variable