This class processes the arg closure that can be present in an
executeCommand change. The arguments that are processed by this
closure will not be expanded for databaseChangeLog property substitution.
That is up to the caller.
| Type | Name and description |
|---|---|
java.lang.Object |
args |
java.lang.Object |
changeName |
java.lang.Object |
changeSetId |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Object |
arg(java.lang.String value)Process an argument where the argument is simply a string. |
|
java.lang.Object |
arg(java.util.Map valueMap)Process an argument where the argument is in the value entry of
the given map. |
|
java.lang.Object |
methodMissing(java.lang.String name, java.lang.Object args)Groovy calls methodMissing when it can't find a matching method to call. |
| 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() |
Process an argument where the argument is simply a string. This is not how the Liquibase XML works, but it is really nice shorthand.
value - the argument to add Process an argument where the argument is in the value entry of
the given map. This is consistent with how Liquibase XML works.
valueMap - the map containing the argument.Groovy calls methodMissing when it can't find a matching method to call. We use it to tell the user which changeSet had the invalid element.
name - the name of the method Groovy wanted to call.args - the original arguments to that method.