liquibase.sql.visitor.AppendSqlVisitor 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.
package liquibase.sql.visitor;
import liquibase.database.Database;
public class AppendSqlVisitor extends AbstractSqlVisitor{
private String value;
@Override
public String getName() {
return "append";
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
@Override
public String modifySql(String sql, Database database) {
return sql + value;
}
@Override
public String getSerializedObjectNamespace() {
return STANDARD_CHANGELOG_NAMESPACE;
}
}