Class 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.

    • Constructor Detail

      • LiquibaseUpdateTestingRollback

        public LiquibaseUpdateTestingRollback()
    • Method Detail

      • doUpdate

        protected void doUpdate​(liquibase.Liquibase liquibase)
                         throws liquibase.exception.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:
        liquibase.exception.LiquibaseException