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, 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> 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()
CommandStep
providedDependencies
in interface CommandStep
providedDependencies
in class AbstractCommandStep
public void run(CommandResultsBuilder resultsBuilder) throws Exception
CommandStep
CommandScope.execute()
order.run
in interface CommandStep
Exception
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.