liquibase.change.DbmsTargetedChange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
The newest version!
package liquibase.change;
/**
* Adding this interface to your Change class allows you to specify a dbms attribute listing the databases the change is applied to.
* This isn't in the default Change interface because normally the database targeting should be at the changeSet level since there is normally
* one change per changeSet. However, for certain changes (especially raw sql) it makes sense to have just some changes within a changeset run per database.
*/
public interface DbmsTargetedChange {
/**
* @return A comma separated list of dbms' that this change will be run for. Will run for all dbms' if empty or null.
*/
String getDbms();
void setDbms(String dbms);
}