public class LiquibaseRollbackOneChangeSetMojo extends AbstractLiquibaseChangeLogMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
changeSetAuthor
Specifies the author of the changeSet you want to rollback.
|
protected String |
changeSetId
The changeset ID to rollback
|
protected String |
changeSetPath
Specifies the path to the changelog which contains the change-set you want to rollback.
|
protected String |
force
A required flag which indicates you intend to run rollbackOneChangeSet
|
protected String |
rollbackScript
Specifies the path to a rollback script
|
changeLogDirectory, 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 |
|---|
LiquibaseRollbackOneChangeSetMojo() |
| 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. |
protected void |
printSettings(String indent)
Prints the settings that have been set of defaulted for the plugin.
|
checkRequiredParametersAreSpecified, createLiquibase, getLabelFilter, getResourceAccessorcleanup, configureChangeLogProperties, configureFieldsAndValues, databaseConnectionRequired, getClassLoaderIncludingProjectClasspath, getField, getLicenseKey, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, isPromptOnNonLocalDatabase, parsePropertiesFile, setupBindInfoPackage@PropertyElement protected String changeSetId
@PropertyElement protected String changeSetAuthor
@PropertyElement protected String changeSetPath
@PropertyElement protected String force
@PropertyElement protected String rollbackScript
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 printSettings(String indent)
AbstractLiquibaseMojoprintSettings in class AbstractLiquibaseChangeLogMojoindent - The indent string to use when printing the settings.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.LiquibaseExceptionCopyright © 2022 Liquibase.org. All rights reserved.