This class represents a single activity that must be performed as part of a liquibase task. It
is basically the intersection of changelogs and databases. Each named activity in the
activities
closure of the liquibase
block will create one of these objects.
Type | Name and description |
---|---|
java.lang.Object |
arguments |
java.lang.Object |
name |
java.lang.Object |
parameters |
Constructor and description |
---|
Activity
(java.lang.String name) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Object |
changeLogParameters(java.lang.Object tokenMap) Define the ChangeLog parameters to use for this activity. |
|
java.lang.Object |
methodMissing(java.lang.String name, java.lang.Object args) Used to configure the Liquibase arguments. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
Define the ChangeLog parameters to use for this activity. ChangeLog parameters are used by Liquibase to perform token substitution on change sets.
tokenMap
- the map of tokens and their values.Used to configure the Liquibase arguments. The method name is assumed to be a valid Liquibase argument. Not worrying about that here is one way we decouple from a particular version of Liquibase.
name
- the name of the Liquibase argumentargs
- Technically an array, the first value will be taken as the value of the Liquibase
argument.Groovy Documentation