All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.sql.visitor.PrependSqlVisitor Maven / Gradle / Ivy

There is a newer version: 3.6.2.5.inovus
Show newest version
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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy