public abstract class AbstractLiquibaseUpdateMojo extends AbstractLiquibaseChangeLogMojo
| Modifier and Type | Field and Description |
|---|---|
protected int |
changesToApply
The number of changes to apply to the database.
|
protected boolean |
rollbackOnError
If set to true and any changeset in a deployment fails, then the update operation stops, and liquibase attempts to rollback all changesets just deployed.
|
protected String |
toTag
Update to the changeSet with the given tag command.
|
changeLogDirectory, changeLogFile, contexts, duplicateFileMode, hubApiKey, hubMode, hubUrl, labelFilter, labelschangeExecListenerClass, 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, psqlKeepTemp, psqlKeepTempName, psqlKeepTempPath, psqlLogFile, psqlPath, psqlTimeout, searchPath, showBanner, skip, sqlcmdArgs, sqlcmdCatalogName, sqlcmdKeepTemp, sqlcmdKeepTempName, sqlcmdKeepTempOverwrite, sqlcmdKeepTempPath, sqlcmdLogFile, sqlcmdPath, sqlcmdTimeout, sqlPlusArgs, sqlPlusKeepTemp, sqlPlusKeepTempName, sqlPlusKeepTempOverwrite, sqlPlusKeepTempPath, sqlPlusLogFile, sqlPlusPath, sqlPlusTimeout, systemProperties, url, username, verbose, wagonManager| Constructor and Description |
|---|
AbstractLiquibaseUpdateMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doUpdate(Liquibase liquibase)
Performs the actual "update" work on the database.
|
protected void |
handleUpdateException(LiquibaseException exception) |
protected void |
performLiquibaseTask(Liquibase liquibase)
Performs the actual Liquibase task on the database using the fully configured
Liquibase. |
protected void |
printSettings(String indent)
Prints the settings that have been set of defaulted for the plugin.
|
checkRequiredParametersAreSpecified, createLiquibase, getLabelFilter, getResourceAccessorcleanup, configureChangeLogProperties, configureFieldsAndValues, databaseConnectionRequired, execute, getClassLoaderIncludingProjectClasspath, getField, getLicenseKey, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, isPromptOnNonLocalDatabase, parsePropertiesFile, setupBindInfoPackage@PropertyElement protected int changesToApply
protected String toTag
@PropertyElement protected boolean rollbackOnError
protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException
AbstractLiquibaseChangeLogMojoLiquibase.performLiquibaseTask in class AbstractLiquibaseChangeLogMojoliquibase - The Liquibase that has been fully
configured to run the desired database task.LiquibaseExceptionprotected abstract void doUpdate(Liquibase liquibase) throws LiquibaseException
liquibase - The Liquibase object to use to perform the "update".LiquibaseExceptionprotected void printSettings(String indent)
AbstractLiquibaseMojoprintSettings in class AbstractLiquibaseChangeLogMojoindent - The indent string to use when printing the settings.protected void handleUpdateException(LiquibaseException exception) throws LiquibaseException
LiquibaseExceptionCopyright © 2023 Liquibase.org. All rights reserved.