| 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"}}. |
| 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. |
| public void | validate(CommandScope commandScope)
Overrides liquibase. Implements liquibase. Default implementation does no additional validation. |
| private static void | validateConditionsToOverwriteChangelogFile(CommandScope commandScope)
If the changelog file already exists, validate if overwriteOutputFile is true. |
| AUTHOR_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> AUTHOR_ARG | |
| CHANGELOG_FILE_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> CHANGELOG_FILE_ARG | |
| COMMAND_NAME | back to summary |
|---|---|
| public static final String[] COMMAND_NAME Hides liquibase. | |
| CONTEXT_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> CONTEXT_ARG | |
| CONTEXTS_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> CONTEXTS_ARG | |
| DATA_OUTPUT_DIR_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> DATA_OUTPUT_DIR_ARG | |
| INFO_MESSAGE | back to summary |
|---|---|
| private static final String INFO_MESSAGE | |
| LABEL_FILTER_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> LABEL_FILTER_ARG | |
| OVERWRITE_OUTPUT_FILE_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<Boolean> OVERWRITE_OUTPUT_FILE_ARG | |
| REFERENCE_DEFAULT_CATALOG_NAME_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> REFERENCE_DEFAULT_CATALOG_NAME_ARG | |
| REFERENCE_DEFAULT_SCHEMA_NAME_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> REFERENCE_DEFAULT_SCHEMA_NAME_ARG | |
| REFERENCE_DRIVER_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> REFERENCE_DRIVER_ARG | |
| REFERENCE_DRIVER_PROPERTIES_FILE_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> REFERENCE_DRIVER_PROPERTIES_FILE_ARG | |
| REFERENCE_LIQUIBASE_CATALOG_NAME_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> REFERENCE_LIQUIBASE_CATALOG_NAME_ARG | |
| REFERENCE_LIQUIBASE_SCHEMA_NAME_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> REFERENCE_LIQUIBASE_SCHEMA_NAME_ARG | |
| REFERENCE_PASSWORD_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> REFERENCE_PASSWORD_ARG | |
| REFERENCE_SCHEMAS_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> REFERENCE_SCHEMAS_ARG | |
| REFERENCE_URL_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> REFERENCE_URL_ARG | |
| REFERENCE_USERNAME_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> REFERENCE_USERNAME_ARG | |
| USE_OR_REPLACE_OPTION | back to summary |
|---|---|
| public static final CommandArgumentDefinition<Boolean> USE_OR_REPLACE_OPTION | |
| GenerateChangelogCommandStep | back to summary |
|---|---|
| public GenerateChangelogCommandStep() | |
| 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
| |
| 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
| |
| validate | back to summary |
|---|---|
| public void validate(CommandScope commandScope) throws CommandValidationException Overrides liquibase. Implements liquibase. Doc from liquibase. Default implementation does no additional validation.
| |
| validateConditionsToOverwriteChangelogFile | back to summary |
|---|---|
| private static void validateConditionsToOverwriteChangelogFile(CommandScope commandScope) throws CommandValidationException If the changelog file already exists, validate if overwriteOutputFile is true. Otherwise, throws an exception | |