| Modifier and Type | Field and Description |
|---|---|
| public static final String[] | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | adjustCommandDefinition(CommandDefinition commandDefinition)
Overrides liquibase. Implements liquibase. Default implementation makes no changes |
| private ChangeLogIterator | buildChangeLogIterator(String tag, DatabaseChangeLog changeLog, Contexts contexts, LabelExpression labelExpression, Database database)
|
| 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. |
| protected void | |
| public void | validate(CommandScope commandScope)
Overrides liquibase. Implements liquibase. Default implementation does no additional validation. |
| COMMAND_NAME | back to summary |
|---|---|
| public static final String[] COMMAND_NAME | |
| tag | back to summary |
|---|---|
| private String tag | |
| ChangelogSyncCommandStep | back to summary |
|---|---|
| public ChangelogSyncCommandStep() | |
| addChangelogToMdc | back to summary |
|---|---|
| private void addChangelogToMdc(String changelogFile, DatabaseChangeLog changeLog) | |
| adjustCommandDefinition | back to summary |
|---|---|
| public void adjustCommandDefinition(CommandDefinition commandDefinition) Overrides liquibase. Implements liquibase. Doc from liquibase. Default implementation makes no changes
| |
| buildChangeLogIterator | back to summary |
|---|---|
| private ChangeLogIterator buildChangeLogIterator(String tag, DatabaseChangeLog changeLog, Contexts contexts, LabelExpression labelExpression, Database database) throws DatabaseException | |
| 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
| |
| setTag | back to summary |
|---|---|
| protected void setTag(String tag) Tag value can be set by subclasses that implements "SyncToTag" | |
| validate | back to summary |
|---|---|
| public void validate(CommandScope commandScope) throws CommandValidationException Overrides liquibase. Implements liquibase. Doc from liquibase. Default implementation does no additional validation.
| |