CommandStep
and call them with CommandFactory.getCommandDefinition(String...)
.public class DropAllCommand extends AbstractCommand<CommandResult>
PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
Constructor and Description |
---|
DropAllCommand()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkLiquibaseTables(boolean updateExistingNullChecksums,
DatabaseChangeLog databaseChangeLog,
Contexts contexts,
LabelExpression labelExpression)
Deprecated.
|
String |
getChangeLogFile()
Deprecated.
|
Database |
getDatabase()
Deprecated.
|
String |
getName()
Deprecated.
|
CatalogAndSchema[] |
getSchemas()
Deprecated.
|
protected void |
resetServices()
Deprecated.
|
CommandResult |
run()
Deprecated.
Function that performs the actual logic.
|
void |
setChangeLogFile(String changeLogFile)
Deprecated.
|
void |
setDatabase(Database database)
Deprecated.
|
void |
setHubConnectionId(String hubConnectionIdString)
Deprecated.
|
void |
setLiquibase(Liquibase liquibase)
Deprecated.
|
void |
setSchemas(CatalogAndSchema[] schemas)
Deprecated.
|
DropAllCommand |
setSchemas(String... schemas)
Deprecated.
|
CommandValidationErrors |
validate()
Deprecated.
|
getArguments, getPriority
public String getName()
public CommandValidationErrors validate()
public void setLiquibase(Liquibase liquibase)
public Database getDatabase()
public void setDatabase(Database database)
public CatalogAndSchema[] getSchemas()
public void setSchemas(CatalogAndSchema[] schemas)
public DropAllCommand setSchemas(String... schemas)
public String getChangeLogFile()
public void setChangeLogFile(String changeLogFile)
public void setHubConnectionId(String hubConnectionIdString)
public CommandResult run() throws Exception
LiquibaseCommand
CommandFactory.execute(LiquibaseCommand)
Exception
protected void checkLiquibaseTables(boolean updateExistingNullChecksums, DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labelExpression) throws LiquibaseException
LiquibaseException
protected void resetServices()
Copyright © 2023 Liquibase.org. All rights reserved.