liquibase.command.LiquibaseCommand 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;
import liquibase.plugin.Plugin;
import java.util.SortedSet;
/**
* @deprecated Define command with the new {@link CommandStep} interface
*/
public interface LiquibaseCommand extends Plugin {
String getName();
int getPriority(String commandName);
SortedSet getArguments();
CommandValidationErrors validate();
/**
* Function that performs the actual logic. This should not be called directly by any code,
* only by {@link CommandFactory#execute(LiquibaseCommand)}
*/
T run() throws Exception;
}