Package liquibase.command.core.helpers
Class AbstractDatabaseConnectionCommandStep
- java.lang.Object
-
- liquibase.command.AbstractCommandStep
-
- liquibase.command.core.helpers.AbstractHelperCommandStep
-
- liquibase.command.core.helpers.AbstractDatabaseConnectionCommandStep
-
- All Implemented Interfaces:
CleanUpCommandStep
,CommandStep
- Direct Known Subclasses:
DbUrlConnectionCommandStep
,ReferenceDbUrlConnectionCommandStep
public abstract class AbstractDatabaseConnectionCommandStep extends AbstractHelperCommandStep implements CleanUpCommandStep
Abstract CommandStep providing database connectivity.
-
-
Field Summary
Fields Modifier and Type Field Description protected static String[]
COMMAND_NAME
-
Fields inherited from interface liquibase.command.CommandStep
ORDER_DEFAULT, ORDER_NOT_APPLICABLE
-
-
Constructor Summary
Constructors Constructor Description AbstractDatabaseConnectionCommandStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanUp(CommandResultsBuilder resultsBuilder)
Method invoked to execute the cleanup action.protected Database
createDatabaseObject(String url, String username, String password, String defaultSchemaName, String defaultCatalogName, String driver, String driverPropertiesFile, String liquibaseCatalogName, String liquibaseSchemaName)
-
Methods inherited from class liquibase.command.core.helpers.AbstractHelperCommandStep
adjustCommandDefinition
-
Methods inherited from class liquibase.command.AbstractCommandStep
getOrder, providedDependencies, requiredDependencies, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface liquibase.command.CommandStep
defineCommandNames, run
-
-
-
-
Field Detail
-
COMMAND_NAME
protected static final String[] COMMAND_NAME
-
-
Method Detail
-
createDatabaseObject
protected Database createDatabaseObject(String url, String username, String password, String defaultSchemaName, String defaultCatalogName, String driver, String driverPropertiesFile, String liquibaseCatalogName, String liquibaseSchemaName) throws DatabaseException
- Throws:
DatabaseException
-
cleanUp
public void cleanUp(CommandResultsBuilder resultsBuilder)
Description copied from interface:CleanUpCommandStep
Method invoked to execute the cleanup action.- Specified by:
cleanUp
in interfaceCleanUpCommandStep
- Parameters:
resultsBuilder
- builder used in this pipeline
-
-