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, toTagchangeLogDirectory, changeLogFile, contexts, duplicateFileMode, hubApiKey, hubMode, hubUrl, labelFilter, labelschangelogCatalogName, changelogSchemaName, clearCheckSums, commandName, databaseChangeLogLockTableName, databaseChangeLogTableName, databaseClass, defaultCatalogName, 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.
|
performLiquibaseTaskcheckRequiredParametersAreSpecified, createLiquibase, getLabelFilter, getResourceAccessorcleanup, configureChangeLogProperties, configureFieldsAndValues, databaseConnectionRequired, execute, getClassLoaderIncludingProjectClasspath, getField, getLicenseKey, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, isPromptOnNonLocalDatabase, parsePropertiesFile, setupBindInfoPackage@PropertyElement protected boolean dropFirst
protected void doUpdate(Liquibase liquibase) throws LiquibaseException
AbstractLiquibaseUpdateMojodoUpdate in class AbstractLiquibaseUpdateMojoliquibase - The Liquibase object to use to perform the "update".LiquibaseExceptionprotected void printSettings(String indent)
AbstractLiquibaseMojoprintSettings in class AbstractLiquibaseUpdateMojoindent - The indent string to use when printing the settings.Copyright © 2022 Liquibase.org. All rights reserved.