This class is the delegate for the databaseChangeLog element. It
is the starting point for parsing the Groovy DSL.
| Type | Name and description |
|---|---|
java.lang.Object |
databaseChangeLog |
java.lang.Object |
liquibaseVersion370Plus |
java.lang.Object |
params |
java.lang.Object |
resourceAccessor |
| Constructor and description |
|---|
DatabaseChangeLogDelegate
(java.lang.Object databaseChangeLog) |
DatabaseChangeLogDelegate
(java.util.Map params, java.lang.Object databaseChangeLog) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
changeSet(java.util.Map params, java.lang.Object closure)Parse a changeSet and add it to the change log. |
|
void |
include(java.util.Map params = [:])Process the include element to include a file with change sets. |
|
void |
includeAll(java.util.Map params = [:])Process the includeAll element to include all groovy files in a directory. |
|
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. |
|
void |
preConditions(java.util.Map params = [:], groovy.lang.Closure closure)Process nested preConditions elements in a database change log. |
|
void |
property(java.util.Map params = [:])Process nested property elements in a database change log. |
|
java.lang.Object |
propertyMissing(java.lang.String name) |
| 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() |
Parse a changeSet and add it to the change log.
params - the attributes of the change set.closure - the closure containing, among other things, all the
refactoring changes the change set should make.Process the include element to include a file with change sets.
Process the includeAll element to include all groovy files in a directory.
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.Process nested preConditions elements in a database change log.
params - the attributes of the preConditionsclosure - the closure containing nested elements of a precondition.Process nested property elements in a database change log.
params - the attributes of the property.Groovy Documentation