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

liquibase.command.core.MarkNextChangesetRanSqlCommandStep Maven / Gradle / Ivy

The newest version!
package liquibase.command.core;

import liquibase.command.CommandDefinition;

import java.io.Writer;
import java.util.ArrayList;
import java.util.List;

public class MarkNextChangesetRanSqlCommandStep extends MarkNextChangesetRanCommandStep {

    public static final String[] COMMAND_NAME = {"markNextChangesetRanSql"};

    @Override
    public String[][] defineCommandNames() {
        return new String[][] { COMMAND_NAME };
    }

    @Override
    public void adjustCommandDefinition(CommandDefinition commandDefinition) {
        commandDefinition.setShortDescription("Writes the SQL used to mark the next change you apply as executed in your database");
    }

    @Override
    public List> requiredDependencies() {
        List> dependencies = new ArrayList<>();
        dependencies.add(Writer.class);
        dependencies.addAll(super.requiredDependencies());
        return dependencies;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy