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
FieldsFields inherited from interface liquibase.command.CommandStep
ORDER_DEFAULT, ORDER_NOT_APPLICABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanUp(CommandResultsBuilder resultsBuilder) Method invoked to execute the cleanup action.protected DatabasecreateDatabaseObject(String url, String username, String password, String defaultSchemaName, String defaultCatalogName, String driver, String driverPropertiesFile, String liquibaseCatalogName, String liquibaseSchemaName) protected voidlogLicenseUsage(String url, Database database, boolean isTarget, boolean isReference) Methods inherited from class liquibase.command.core.helpers.AbstractHelperCommandStep
adjustCommandDefinition, isInternalMethods inherited from class liquibase.command.AbstractCommandStep
getOrder, handleOutput, providedDependencies, requiredDependencies, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:CleanUpCommandStepMethod invoked to execute the cleanup action.- Specified by:
cleanUpin interfaceCleanUpCommandStep- Parameters:
resultsBuilder- builder used in this pipeline
-
logLicenseUsage
-