| Modifier and Type | Field and Description |
|---|---|
| public static final CommandArgumentDefinition | |
| public static final CommandArgumentDefinition | |
| public static final CommandArgumentDefinition | |
| protected 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 static void | |
| private void | addDefaultFileProperties(ChangeLogParameters
the changelog parameters to update changeLogParameters)Add default-file properties to changelog parameters |
| public void | addJavaProperties(ChangeLogParameters
the changelog parameters to update changeLogParameters)Add java property arguments to changelog parameters |
| private void | checkLiquibaseTables(boolean updateExistingNullChecksums, DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labelExpression, Database database)
|
| public void | cleanUp(CommandResultsBuilder
builder used in this pipeline resultsBuilder)Implements liquibase. Method invoked to execute the cleanup action. |
| 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"}}. |
| private ChangeLogParameters | |
| public static DatabaseChangeLog | getDatabaseChangeLog(String changeLogFile, ChangeLogParameters changeLogParameters, Database database)
|
| public List | providedDependencies()
Overrides liquibase. Implements liquibase. Returns a list of all the dependency Classes that this step provides |
| 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. |
| CHANGELOG_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<DatabaseChangeLog> CHANGELOG_ARG | |
| CHANGELOG_FILE_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> CHANGELOG_FILE_ARG | |
| CHANGELOG_PARAMETERS | back to summary |
|---|---|
| public static final CommandArgumentDefinition<ChangeLogParameters> CHANGELOG_PARAMETERS | |
| COMMAND_NAME | back to summary |
|---|---|
| protected static final String[] COMMAND_NAME | |
| CONTEXTS_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> CONTEXTS_ARG | |
| LABEL_FILTER_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> LABEL_FILTER_ARG | |
| UPDATE_NULL_CHECKSUMS | back to summary |
|---|---|
| public static final CommandArgumentDefinition<Boolean> UPDATE_NULL_CHECKSUMS
| |
| DatabaseChangelogCommandStep | back to summary |
|---|---|
| public DatabaseChangelogCommandStep() | |
| addCommandFiltersMdc | back to summary |
|---|---|
| public static void addCommandFiltersMdc(LabelExpression labelExpression, Contexts contexts) | |
| addDefaultFileProperties | back to summary |
|---|---|
| private void addDefaultFileProperties(ChangeLogParameters changeLogParameters) Add default-file properties to changelog parameters
| |
| addJavaProperties | back to summary |
|---|---|
| public void addJavaProperties(ChangeLogParameters changeLogParameters) Add java property arguments to changelog parameters
| |
| checkLiquibaseTables | back to summary |
|---|---|
| private void checkLiquibaseTables(boolean updateExistingNullChecksums, DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labelExpression, Database database) throws LiquibaseException | |
| cleanUp | back to summary |
|---|---|
| public void cleanUp(CommandResultsBuilder resultsBuilder) Implements liquibase. Doc from liquibase. Method invoked to execute the cleanup action.
| |
| 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
| |
| getChangeLogParameters | back to summary |
|---|---|
| private ChangeLogParameters getChangeLogParameters(CommandScope commandScope, Database database) | |
| getDatabaseChangeLog | back to summary |
|---|---|
| public static DatabaseChangeLog getDatabaseChangeLog(String changeLogFile, ChangeLogParameters changeLogParameters, Database database) throws Exception | |
| providedDependencies | back to summary |
|---|---|
| public List Overrides liquibase. Implements liquibase. Doc from liquibase. Returns a list of all the dependency Classes that this step provides | |
| 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
| |