public class LiquibaseRollbackOneUpdateSQL extends AbstractLiquibaseChangeLogMojo
Modifier and Type | Field and Description |
---|---|
protected String |
deploymentId
Specifies the Deployment ID in the DATABASECHANGELOG table for all changesets you
want to rollback.
|
protected String |
force
Required flag for RollbackOneChangeSet
|
protected String |
outputFile
Specifies the path to the generated SQL output file.
|
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 |
---|
LiquibaseRollbackOneUpdateSQL() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected void |
performLiquibaseTask(Liquibase liquibase)
Performs the actual Liquibase task on the database using the fully configured
Liquibase . |
checkRequiredParametersAreSpecified, createLiquibase, getLabelFilter, getResourceAccessor, printSettings
cleanup, configureChangeLogProperties, configureFieldsAndValues, databaseConnectionRequired, getClassLoaderIncludingProjectClasspath, getField, getLicenseKey, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, isPromptOnNonLocalDatabase, parsePropertiesFile, setupBindInfoPackage
@PropertyElement protected String deploymentId
@PropertyElement protected String force
@PropertyElement protected String outputFile
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AbstractLiquibaseMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException
AbstractLiquibaseChangeLogMojo
Liquibase
.performLiquibaseTask
in class AbstractLiquibaseChangeLogMojo
liquibase
- The Liquibase
that has been fully
configured to run the desired database task.LiquibaseException
Copyright © 2023 Liquibase.org. All rights reserved.