liquibase.command.core.MarkNextChangesetRanSqlCommandStep 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.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;
}
}