| Modifier and Type | Field and Description |
|---|---|
| protected static final String[] | |
| public static final CommandArgumentDefinition | DATABASE_ARG
Deprecated
This field is retained for backwards compatibility. Use the fields in
DbUrlConnectionArgumentsCommandStep instead.
|
| public static final CommandArgumentDefinition | DEFAULT_CATALOG_NAME_ARG
Deprecated
This field is retained for backwards compatibility. Use the fields in
DbUrlConnectionArgumentsCommandStep instead.
|
| public static final CommandArgumentDefinition | DEFAULT_SCHEMA_NAME_ARG
Deprecated
This field is retained for backwards compatibility. Use the fields in
DbUrlConnectionArgumentsCommandStep instead.
|
| public static final CommandArgumentDefinition | DRIVER_ARG
Deprecated
This field is retained for backwards compatibility. Use the fields in
DbUrlConnectionArgumentsCommandStep instead.
|
| public static final CommandArgumentDefinition | DRIVER_PROPERTIES_FILE_ARG
Deprecated
This field is retained for backwards compatibility. Use the fields in
DbUrlConnectionArgumentsCommandStep instead.
|
| public static final CommandArgumentDefinition | PASSWORD_ARG
Deprecated
This field is retained for backwards compatibility. Use the fields in
DbUrlConnectionArgumentsCommandStep instead.
|
| public static final CommandArgumentDefinition | SKIP_DATABASE_STEP_ARG
Deprecated
This field is retained for backwards compatibility. Use the fields in
DbUrlConnectionArgumentsCommandStep instead.
|
| public static final CommandArgumentDefinition | URL_ARG
Deprecated
This field is retained for backwards compatibility. Use the fields in
DbUrlConnectionArgumentsCommandStep instead.
|
| public static final CommandArgumentDefinition | USERNAME_ARG
Deprecated
This field is retained for backwards compatibility. Use the fields in
DbUrlConnectionArgumentsCommandStep instead.
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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 static void | |
| public Database | obtainDatabase(CommandScope
current command scope commandScope)Try to retrieve and set the database object from the command scope, otherwise creates a new one . |
| 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 |
|---|---|
| protected static final String[] COMMAND_NAME Hides liquibase. | |
| DATABASE_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<Database> DATABASE_ARG
Deprecated This field is retained for backwards compatibility. Use the fields in | |
| DEFAULT_CATALOG_NAME_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> DEFAULT_CATALOG_NAME_ARG
Deprecated This field is retained for backwards compatibility. Use the fields in | |
| DEFAULT_SCHEMA_NAME_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> DEFAULT_SCHEMA_NAME_ARG
Deprecated This field is retained for backwards compatibility. Use the fields in | |
| DRIVER_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> DRIVER_ARG
Deprecated This field is retained for backwards compatibility. Use the fields in | |
| DRIVER_PROPERTIES_FILE_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> DRIVER_PROPERTIES_FILE_ARG
Deprecated This field is retained for backwards compatibility. Use the fields in | |
| PASSWORD_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> PASSWORD_ARG
Deprecated This field is retained for backwards compatibility. Use the fields in | |
| SKIP_DATABASE_STEP_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<Boolean> SKIP_DATABASE_STEP_ARG
Deprecated This field is retained for backwards compatibility. Use the fields in | |
| URL_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> URL_ARG
Deprecated This field is retained for backwards compatibility. Use the fields in | |
| USERNAME_ARG | back to summary |
|---|---|
| public static final CommandArgumentDefinition<String> USERNAME_ARG
Deprecated This field is retained for backwards compatibility. Use the fields in | |
| DbUrlConnectionCommandStep | back to summary |
|---|---|
| public DbUrlConnectionCommandStep() | |
| 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
| |
| logMdc | back to summary |
|---|---|
| public static void logMdc(String url, Database database) | |
| obtainDatabase | back to summary |
|---|---|
| public Database obtainDatabase(CommandScope commandScope) throws DatabaseException Try to retrieve and set the database object from the command scope, otherwise creates a new one .
| |
| 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
| |