| Modifier and Type | Field and Description |
|---|---|
| public static final String[] | |
| public static final CommandArgumentDefinition | |
| public static final CommandArgumentDefinition | |
| public static final CommandArgumentDefinition | |
| private Map |
| 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 |
| protected SnapshotControl | |
| 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 Writer | |
| private CatalogAndSchema[] | |
| 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 | |
| SCHEMAS_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> SCHEMAS_ARG | |
| SNAPSHOT_CONTROL_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<SnapshotControl> SNAPSHOT_CONTROL_ARG | |
| SNAPSHOT_FORMAT_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> SNAPSHOT_FORMAT_ARG | |
| snapshotMetadata | back to summary |
|---|---|
| private Map<String, Object> snapshotMetadata | |
| SnapshotCommandStep | back to summary |
|---|---|
| public SnapshotCommandStep() | |
| adjustCommandDefinition | back to summary |
|---|---|
| public void adjustCommandDefinition(CommandDefinition commandDefinition) Overrides liquibase. Implements liquibase. Doc from liquibase. Default implementation makes no changes
| |
| createSnapshotControl | back to summary |
|---|---|
| protected SnapshotControl createSnapshotControl(CommandScope commandScope, Database database) | |
| 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
| |
| getOutputWriter | back to summary |
|---|---|
| private Writer getOutputWriter(final OutputStream outputStream) throws IOException | |
| parseSchemas | back to summary |
|---|---|
| private CatalogAndSchema[] parseSchemas(Database database, String... schemas) | |
| printSnapshot | back to summary |
|---|---|
| private String printSnapshot(CommandScope commandScope, DatabaseSnapshot snapshot) | |
| 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
| |