CommandStep and call them with CommandFactory.getCommandDefinition(String...).public class ExecuteSqlCommand extends AbstractCommand
PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED| Constructor and Description |
|---|
ExecuteSqlCommand()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Database |
getDatabase()
Deprecated.
|
String |
getName()
Deprecated.
|
String |
getSql()
Deprecated.
|
String |
getSqlFile()
Deprecated.
|
CommandResult |
run()
Deprecated.
Function that performs the actual logic.
|
void |
setDatabase(Database database)
Deprecated.
|
void |
setDelimiter(String delimiter)
Deprecated.
|
void |
setSql(String sql)
Deprecated.
|
void |
setSqlFile(String sqlFile)
Deprecated.
|
CommandValidationErrors |
validate()
Deprecated.
|
getArguments, getPrioritypublic String getName()
public Database getDatabase()
public void setDatabase(Database database)
public String getSql()
public void setSql(String sql)
public String getSqlFile()
public void setSqlFile(String sqlFile)
public void setDelimiter(String delimiter)
public CommandValidationErrors validate()
public CommandResult run() throws Exception
LiquibaseCommandCommandFactory.execute(LiquibaseCommand)ExceptionCopyright © 2023 Liquibase.org. All rights reserved.