This class processes the closure that can be present in a sql change.
the closure will either contain just SQL, or a comment and some SQL.
For now, we only support the SQL coming after the comment.
This delegate will not expand expressions to make changeLog property substitutions. That is up to the caller.
| Type | Name and description |
|---|---|
java.lang.Object |
changeName |
java.lang.Object |
changeSetId |
java.lang.String |
comment |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
comment(java.lang.String value)Process a comment in the closure |
|
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 a comment in the closure
value - the value of the comment.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.