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, createDatabaseObject
getOrder, requiredDependencies, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cleanUp
protected 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
CommandStep
CommandScope.execute()
order.run
in interface CommandStep
Exception
public List<Class<?>> providedDependencies()
CommandStep
providedDependencies
in interface CommandStep
providedDependencies
in class AbstractCommandStep
public String[][] defineCommandNames()
CommandStep
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
defineCommandNames
in interface CommandStep
Copyright © 2023 Liquibase.org. All rights reserved.