public class DropAllCommand extends AbstractCommand<CommandResult>
Constructor and Description |
---|
DropAllCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkLiquibaseTables(boolean updateExistingNullChecksums,
DatabaseChangeLog databaseChangeLog,
Contexts contexts,
LabelExpression labelExpression) |
Database |
getDatabase() |
String |
getName() |
CatalogAndSchema[] |
getSchemas() |
protected void |
resetServices() |
protected CommandResult |
run() |
void |
setDatabase(Database database) |
void |
setSchemas(CatalogAndSchema[] schemas) |
DropAllCommand |
setSchemas(String... schemas) |
CommandValidationErrors |
validate() |
execute, getPriority
public String getName()
public CommandValidationErrors validate()
public Database getDatabase()
public void setDatabase(Database database)
public CatalogAndSchema[] getSchemas()
public void setSchemas(CatalogAndSchema[] schemas)
public DropAllCommand setSchemas(String... schemas)
protected CommandResult run() throws Exception
run
in class AbstractCommand<CommandResult>
Exception
protected void checkLiquibaseTables(boolean updateExistingNullChecksums, DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labelExpression) throws LiquibaseException
LiquibaseException
protected void resetServices()
Copyright © 2019 Liquibase.org. All rights reserved.