public class LiquibaseRollbackSQL extends LiquibaseRollback
LiquibaseRollback.RollbackType
Modifier and Type | Field and Description |
---|---|
protected File |
migrationSqlOutputFile
The file to output the Rollback SQL script to, if it exists it will be
overwritten.
|
rollbackCount, rollbackDate, rollbackScript, rollbackTag, type
changeLogFile, contexts, labels
changelogCatalogName, changelogSchemaName, clearCheckSums, databaseChangeLogLockTableName, databaseChangeLogTableName, databaseClass, defaultCatalogName, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, logging, outputDefaultCatalog, outputDefaultSchema, outputFileEncoding, password, project, promptOnNonLocalDatabase, propertyFile, propertyFileWillOverride, propertyProviderClass, skip, systemProperties, url, username, verbose, wagonManager
Constructor and Description |
---|
LiquibaseRollbackSQL() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(Database db) |
protected Liquibase |
createLiquibase(ResourceAccessor fo,
Database db) |
protected boolean |
isPromptOnNonLocalDatabase() |
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, checkRequiredRollbackParameters, parseDate
getFileOpener
configureFieldsAndValues, execute, getClassLoaderIncludingProjectClasspath, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, parsePropertiesFile
protected File migrationSqlOutputFile
protected boolean isPromptOnNonLocalDatabase()
isPromptOnNonLocalDatabase
in class AbstractLiquibaseMojo
protected Liquibase createLiquibase(ResourceAccessor fo, Database db) throws org.apache.maven.plugin.MojoExecutionException
createLiquibase
in class AbstractLiquibaseChangeLogMojo
org.apache.maven.plugin.MojoExecutionException
protected void printSettings(String indent)
AbstractLiquibaseMojo
printSettings
in class LiquibaseRollback
indent
- The indent string to use when printing the settings.protected void cleanup(Database db)
cleanup
in class AbstractLiquibaseMojo
protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException
AbstractLiquibaseChangeLogMojo
Liquibase
.performLiquibaseTask
in class LiquibaseRollback
liquibase
- The Liquibase
that has been fully
configured to run the desired database task.LiquibaseException
Copyright © 2017 Liquibase.org. All rights reserved.