A general-purpose delegate class to provide key/value support in a builder.
This delegate supports 2 ways of creating the key/value pairs. We can
pass them in a manner consistent with the XML, namely a series of
param ( name : ' someName ' , value : ' someValue ' ) ) elements. The Groovy
DSL parser also supports a simpler mechanism whereby any method in the
closure is assumed to be the key and the method's arguments are assumed to
be the value. So the code snippet above becomes
{@code someName ( ' someValue ' )*
The map created by this delegate will not do database changeLog property substitution, that will be up to the caller.
| Type | Name and description |
|---|---|
java.lang.Object |
changeSetId |
java.lang.Object |
map |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
methodMissing(java.lang.String name, java.lang.Object args)This method supports the Groovy DSL mechanism of passing a name/value pair by using the method name as the key and the method arguments as the value. |
|
void |
param(java.util.Map params)This method supports the standard XML like method of passing a name/value pair inside a param method |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
This method supports the Groovy DSL mechanism of passing a name/value pair by using the method name as the key and the method arguments as the value.
This method supports the standard XML like method of passing a name/value
pair inside a param method