| Modifier and Type | Field and Description |
|---|---|
| public static final String[] | |
| public static final CommandArgumentDefinition | |
| public static final CommandArgumentDefinition | |
| public static final CommandArgumentDefinition |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | adjustCommandDefinition(CommandDefinition commandDefinition)
Overrides liquibase. Implements liquibase. Default implementation makes no changes |
| public String[][] | defineCommandNames()
Implements liquibase. Defines new command names For example, if it is part of `liquibase update`, this should return new String[][]{ new String[] {"update"}}. |
| protected static String | |
| protected String | |
| protected void | |
| private String | |
| public List | requiredDependencies()
Overrides liquibase. Implements liquibase. Return a list of configured Classes that this command requires to be passed as a dependency. |
| public void | run(CommandResultsBuilder resultsBuilder)
Implements liquibase. Performs the business logic. |
| COMMAND_NAME | back to summary |
|---|---|
| public static final String[] COMMAND_NAME | |
| DELIMITER_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> DELIMITER_ARG | |
| SQL_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> SQL_ARG | |
| SQLFILE_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> SQLFILE_ARG | |
| ExecuteSqlCommandStep | back to summary |
|---|---|
| public ExecuteSqlCommandStep() | |
| adjustCommandDefinition | back to summary |
|---|---|
| public void adjustCommandDefinition(CommandDefinition commandDefinition) Overrides liquibase. Implements liquibase. Doc from liquibase. Default implementation makes no changes
| |
| defineCommandNames | back to summary |
|---|---|
| public String[][] defineCommandNames() Implements liquibase. Doc from liquibase. Defines new command names For example, if it is part of `liquibase update`, this should return new String[][]{ new String[] {"update"}}. If it is a part of `liquibase example init`, this should return {"example", "init"}. This is used to determine the available command names. This can return null if this step is not defining a new command but "cross-cutting" existing commands
| |
| determineEndDelimiter | back to summary |
|---|---|
| protected static String determineEndDelimiter(CommandScope commandScope) | |
| getSqlScript | back to summary |
|---|---|
| protected String getSqlScript(String sql, String sqlFile) throws IOException, LiquibaseException | |
| handleOutput | back to summary |
|---|---|
| protected void handleOutput(CommandResultsBuilder resultsBuilder, String output) throws IOException | |
| handleSelect | back to summary |
|---|---|
| private String handleSelect(String sqlString, Executor executor) throws DatabaseException | |
| requiredDependencies | back to summary |
|---|---|
| public List Overrides liquibase. Implements liquibase. Doc from liquibase. Return a list of configured Classes that this command requires to be passed as a dependency. | |
| run | back to summary |
|---|---|
| public void run(CommandResultsBuilder resultsBuilder) throws Exception Implements liquibase. Doc from liquibase. Performs the business logic.
This method should not be called directly. It is called by the overall pipeline logic in the
| |