public class LiquibaseUpdate extends AbstractLiquibaseUpdateMojo
Applies the DatabaseChangeLogs to the database. Useful as part of the build process.
Modifier and Type | Field and Description |
---|---|
protected boolean |
dropFirst
Whether or not to perform a drop on the database before executing the change.
|
changesToApply, rollbackOnError, toTag
changeLogDirectory, changeLogFile, contexts, duplicateFileMode, hubApiKey, hubMode, hubUrl, labelFilter, labels
changeExecListenerClass, changeExecListenerPropertiesFile, changelogCatalogName, changelogSchemaName, clearCheckSums, commandName, databaseChangeLogLockTableName, databaseChangeLogTableName, databaseClass, defaultCatalogName, defaultChangeExecListener, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, logging, outputDefaultCatalog, outputDefaultSchema, outputFileEncoding, password, preserveSchemaCase, project, promptOnNonLocalDatabase, propertyFile, propertyFileWillOverride, propertyProviderClass, psqlArgs, psqlExecutorName, psqlKeepTemp, psqlKeepTempName, psqlKeepTempPath, psqlLogFile, psqlPath, psqlTimeout, searchPath, showBanner, skip, sqlcmdArgs, sqlcmdCatalogName, sqlcmdExecutorName, sqlcmdKeepTemp, sqlcmdKeepTempName, sqlcmdKeepTempOverwrite, sqlcmdKeepTempPath, sqlcmdLogFile, sqlcmdPath, sqlcmdTimeout, sqlPlusArgs, sqlPlusExecutorName, sqlPlusKeepTemp, sqlPlusKeepTempName, sqlPlusKeepTempOverwrite, sqlPlusKeepTempPath, sqlPlusLogFile, sqlPlusPath, sqlPlusTimeout, systemProperties, url, username, verbose, wagonManager
Constructor and Description |
---|
LiquibaseUpdate() |
Modifier and Type | Method and Description |
---|---|
protected void |
doUpdate(Liquibase liquibase)
Performs the actual "update" work on the database.
|
protected void |
printSettings(String indent)
Prints the settings that have been set of defaulted for the plugin.
|
handleUpdateException, performLiquibaseTask
checkRequiredParametersAreSpecified, createLiquibase, getLabelFilter, getResourceAccessor
cleanup, configureChangeLogProperties, configureFieldsAndValues, databaseConnectionRequired, execute, getClassLoaderIncludingProjectClasspath, getField, getLicenseKey, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, isPromptOnNonLocalDatabase, parsePropertiesFile, setupBindInfoPackage
@PropertyElement protected boolean dropFirst
protected void doUpdate(Liquibase liquibase) throws LiquibaseException
AbstractLiquibaseUpdateMojo
doUpdate
in class AbstractLiquibaseUpdateMojo
liquibase
- The Liquibase object to use to perform the "update".LiquibaseException
protected void printSettings(String indent)
AbstractLiquibaseMojo
printSettings
in class AbstractLiquibaseUpdateMojo
indent
- The indent string to use when printing the settings.Copyright © 2023 Liquibase.org. All rights reserved.