public class LiquibaseRollbackOneUpdateSQL extends AbstractLiquibaseChangeLogMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
deploymentId
Specifies the Deployment ID in the DATABASECHANGELOG table for all change sets 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, 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 |
|---|
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, getResourceAccessor, printSettingscleanup, configureChangeLogProperties, configureFieldsAndValues, databaseConnectionRequired, getClassLoaderIncludingProjectClasspath, getField, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, hasProLicense, 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.Mojoexecute in class AbstractLiquibaseMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException
AbstractLiquibaseChangeLogMojoLiquibase.performLiquibaseTask in class AbstractLiquibaseChangeLogMojoliquibase - The Liquibase that has been fully
configured to run the desired database task.LiquibaseExceptionCopyright © 2022 Liquibase.org. All rights reserved.