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 inherited from interface liquibase.command.CommandStep
ORDER_DEFAULT, ORDER_NOT_APPLICABLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
COMMAND_NAME
-
-
Constructor Details
-
AbstractDatabaseConnectionCommandStep
public AbstractDatabaseConnectionCommandStep()
-
-
Method Details
-
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
Description copied from interface:CleanUpCommandStep
Method invoked to execute the cleanup action.- Specified by:
cleanUp
in interfaceCleanUpCommandStep
- Parameters:
resultsBuilder
- builder used in this pipeline
-