liquibase.sql.visitor.PrependSqlVisitor Maven / Gradle / Ivy
package liquibase.sql.visitor;
import liquibase.database.Database;
public class PrependSqlVisitor extends AbstractSqlVisitor {
private String value;
@Override
public String getName() {
return "prepend";
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
@Override
public String modifySql(String sql, Database database) {
return value + sql;
}
@Override
public String getSerializedObjectNamespace() {
return STANDARD_CHANGELOG_NAMESPACE;
}
}