| Modifier and Type | Field and Description |
|---|---|
| public static final String[] | |
| public static final CommandResultDefinition | |
| public static final CommandArgumentDefinition | |
| 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 DiffResult | |
| protected DatabaseSnapshot | |
| 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 DatabaseSnapshot | generateDatabaseShapshot(CommandScope commandScope, Database database, CompareControl compareControl, CatalogAndSchema[] schemas, SnapshotControl snapshotControl)
|
| protected DatabaseSnapshot | |
| public static Class | |
| 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. |
| COMMAND_NAME | back to summary |
|---|---|
| public static final String[] COMMAND_NAME | |
| DIFF_RESULT | back to summary |
|---|---|
| public static final CommandResultDefinition<DiffResult> DIFF_RESULT | |
| FORMAT_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> FORMAT_ARG | |
| REFERENCE_SNAPSHOT_CONTROL_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<SnapshotControl> REFERENCE_SNAPSHOT_CONTROL_ARG | |
| SNAPSHOT_LISTENER_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<SnapshotListener> SNAPSHOT_LISTENER_ARG | |
| TARGET_SNAPSHOT_CONTROL_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<SnapshotControl> TARGET_SNAPSHOT_CONTROL_ARG | |
| DiffCommandStep | back to summary |
|---|---|
| public DiffCommandStep() | |
| adjustCommandDefinition | back to summary |
|---|---|
| public void adjustCommandDefinition(CommandDefinition commandDefinition) Overrides liquibase. Implements liquibase. Doc from liquibase. Default implementation makes no changes
| |
| createDiffResult | back to summary |
|---|---|
| public DiffResult createDiffResult(CommandResultsBuilder resultsBuilder) throws DatabaseException, InvalidExampleException | |
| createReferenceSnapshot | back to summary |
|---|---|
| protected DatabaseSnapshot createReferenceSnapshot(CommandResultsBuilder resultsBuilder) throws DatabaseException, InvalidExampleException | |
| 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
| |
| generateDatabaseShapshot | back to summary |
|---|---|
| private DatabaseSnapshot generateDatabaseShapshot(CommandScope commandScope, Database database, CompareControl compareControl, CatalogAndSchema[] schemas, SnapshotControl snapshotControl) throws DatabaseException, InvalidExampleException | |
| getTargetSnapshot | back to summary |
|---|---|
| protected DatabaseSnapshot getTargetSnapshot(CommandResultsBuilder resultsBuilder) throws DatabaseException, InvalidExampleException | |
| parseSnapshotTypes | back to summary |
|---|---|
| public static Class | |
| 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
| |