org.liquibase.maven.plugins
Class LiquibaseUpdateTestingRollback

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.liquibase.maven.plugins.AbstractLiquibaseMojo
          extended by org.liquibase.maven.plugins.AbstractLiquibaseChangeLogMojo
              extended by org.liquibase.maven.plugins.AbstractLiquibaseUpdateMojo
                  extended by org.liquibase.maven.plugins.LiquibaseUpdateTestingRollback
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class LiquibaseUpdateTestingRollback
extends AbstractLiquibaseUpdateMojo

Applies the DatabaseChangeLogs to the database, testing rollback. This is done by updating the database, rolling it back then updating it again.


Field Summary
 
Fields inherited from class org.liquibase.maven.plugins.AbstractLiquibaseUpdateMojo
changesToApply
 
Fields inherited from class org.liquibase.maven.plugins.AbstractLiquibaseChangeLogMojo
changeLogFile, contexts
 
Fields inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
changelogCatalogName, changelogSchemaName, clearCheckSums, databaseClass, defaultCatalogName, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, logging, outputDefaultCatalog, outputDefaultSchema, outputFileEncoding, password, project, promptOnNonLocalDatabase, propertyFile, propertyFileWillOverride, skip, systemProperties, url, username, verbose, wagonManager
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LiquibaseUpdateTestingRollback()
           
 
Method Summary
protected  void doUpdate(Liquibase liquibase)
          Performs the actual "update" work on the database.
 
Methods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseUpdateMojo
performLiquibaseTask, printSettings
 
Methods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseChangeLogMojo
checkRequiredParametersAreSpecified, createLiquibase, getFileOpener
 
Methods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
cleanup, configureFieldsAndValues, execute, getClassLoaderIncludingProjectClasspath, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, isPromptOnNonLocalDatabase, parsePropertiesFile
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiquibaseUpdateTestingRollback

public LiquibaseUpdateTestingRollback()
Method Detail

doUpdate

protected void doUpdate(Liquibase liquibase)
                 throws LiquibaseException
Description copied from class: AbstractLiquibaseUpdateMojo
Performs the actual "update" work on the database.

Specified by:
doUpdate in class AbstractLiquibaseUpdateMojo
Parameters:
liquibase - The Liquibase object to use to perform the "update".
Throws:
LiquibaseException


Copyright © 2014 Liquibase.org. All Rights Reserved.