public class DbUrlConnectionCommandStep extends AbstractDatabaseConnectionCommandStep implements CleanUpCommandStep
| Modifier and Type | Field and Description |
|---|---|
protected static String[] |
COMMAND_NAME |
static CommandArgumentDefinition<Database> |
DATABASE_ARG |
static CommandArgumentDefinition<String> |
DEFAULT_CATALOG_NAME_ARG |
static CommandArgumentDefinition<String> |
DEFAULT_SCHEMA_NAME_ARG |
static CommandArgumentDefinition<String> |
DRIVER_ARG |
static CommandArgumentDefinition<String> |
DRIVER_PROPERTIES_FILE_ARG |
static CommandArgumentDefinition<String> |
PASSWORD_ARG |
static CommandArgumentDefinition<Boolean> |
SKIP_DATABASE_STEP_ARG
Deprecated.
|
static CommandArgumentDefinition<String> |
URL_ARG |
static CommandArgumentDefinition<String> |
USERNAME_ARG |
ORDER_DEFAULT, ORDER_NOT_APPLICABLE| Constructor and Description |
|---|
DbUrlConnectionCommandStep() |
| 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> DATABASE_ARG
public static final CommandArgumentDefinition<String> URL_ARG
public static final CommandArgumentDefinition<String> DEFAULT_SCHEMA_NAME_ARG
public static final CommandArgumentDefinition<String> DEFAULT_CATALOG_NAME_ARG
public static final CommandArgumentDefinition<String> USERNAME_ARG
public static final CommandArgumentDefinition<String> PASSWORD_ARG
public static final CommandArgumentDefinition<String> DRIVER_ARG
public static final CommandArgumentDefinition<String> DRIVER_PROPERTIES_FILE_ARG
@Beta @Deprecated public static final CommandArgumentDefinition<Boolean> SKIP_DATABASE_STEP_ARG
public void run(CommandResultsBuilder resultsBuilder) throws Exception
CommandStepCommandScope.execute() order.run in interface CommandStepExceptionpublic List<Class<?>> providedDependencies()
CommandStepprovidedDependencies in interface CommandStepprovidedDependencies in class AbstractCommandSteppublic 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.