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, hubApiKey, hubMode, hubUrl, labelschangelogCatalogName, changelogSchemaName, clearCheckSums, commandName, databaseChangeLogLockTableName, databaseChangeLogTableName, databaseClass, defaultCatalogName, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, liquibaseProLicenseKey, logging, outputDefaultCatalog, outputDefaultSchema, outputFileEncoding, password, project, promptOnNonLocalDatabase, propertyFile, propertyFileWillOverride, propertyProviderClass, skip, 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, getResourceAccessorcleanup, configureChangeLogProperties, configureFieldsAndValues, execute, getClassLoaderIncludingProjectClasspath, getField, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, hasProLicense, isPromptOnNonLocalDatabase, parsePropertiesFile, setupBindInfoPackageprotected 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 © 2021 Liquibase.org. All rights reserved.