public class ReferenceDbUrlConnectionCommandStep extends AbstractDatabaseConnectionCommandStep implements CleanUpCommandStep
| Modifier and Type | Field and Description |
|---|---|
protected static String[] |
COMMAND_NAME |
static CommandArgumentDefinition<Database> |
REFERENCE_DATABASE_ARG |
static CommandArgumentDefinition<String> |
REFERENCE_DEFAULT_CATALOG_NAME_ARG |
static CommandArgumentDefinition<String> |
REFERENCE_DEFAULT_SCHEMA_NAME_ARG |
static CommandArgumentDefinition<String> |
REFERENCE_DRIVER_ARG |
static CommandArgumentDefinition<String> |
REFERENCE_DRIVER_PROPERTIES_FILE_ARG |
static CommandArgumentDefinition<String> |
REFERENCE_PASSWORD_ARG |
static CommandArgumentDefinition<String> |
REFERENCE_URL_ARG |
static CommandArgumentDefinition<String> |
REFERENCE_USERNAME_ARG |
ORDER_DEFAULT, ORDER_NOT_APPLICABLE| Constructor and Description |
|---|
ReferenceDbUrlConnectionCommandStep() |
| Modifier and Type | Method and Description |
|---|---|
String[][] |
defineCommandNames()
Defines new command names
For example, if it is part of `liquibase update`, this should return new String[][]{ new String[] {"update"}}.
|
List<Class<?>> |
providedDependencies()
Returns a list of all the dependency Classes that this step provides
|
void |
run(CommandResultsBuilder resultsBuilder)
Performs the business logic.
|
adjustCommandDefinition, cleanUp, createDatabaseObjectgetOrder, requiredDependencies, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcleanUpprotected static final String[] COMMAND_NAME
public static final CommandArgumentDefinition<Database> REFERENCE_DATABASE_ARG
public static final CommandArgumentDefinition<String> REFERENCE_USERNAME_ARG
public static final CommandArgumentDefinition<String> REFERENCE_PASSWORD_ARG
public static final CommandArgumentDefinition<String> REFERENCE_URL_ARG
public static final CommandArgumentDefinition<String> REFERENCE_DEFAULT_SCHEMA_NAME_ARG
public static final CommandArgumentDefinition<String> REFERENCE_DEFAULT_CATALOG_NAME_ARG
public static final CommandArgumentDefinition<String> REFERENCE_DRIVER_ARG
public static final CommandArgumentDefinition<String> REFERENCE_DRIVER_PROPERTIES_FILE_ARG
public List<Class<?>> providedDependencies()
CommandStepprovidedDependencies in interface CommandStepprovidedDependencies in class AbstractCommandSteppublic void run(CommandResultsBuilder resultsBuilder) throws Exception
CommandStepCommandScope.execute() order.run in interface CommandStepExceptionpublic String[][] defineCommandNames()
CommandStepThis 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
defineCommandNames in interface CommandStepCopyright © 2023 Liquibase.org. All rights reserved.