All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.change.custom.CustomTaskRollback Maven / Gradle / Ivy

There is a newer version: 3.6.2.5.inovus
Show newest version
package liquibase.change.custom;

import liquibase.database.Database;
import liquibase.exception.CustomChangeException;
import liquibase.exception.RollbackImpossibleException;

/**
 * Interface to implement that allows rollback of a custom task change.
 *
 * @see liquibase.change.custom.CustomTaskChange
 */
public interface CustomTaskRollback {

    /**
     * Method called to rollback the change.
     * @param database Database the change is being executed against.
     * @throws liquibase.exception.CustomChangeException an exception occurs while processing this rollback
     * @throws liquibase.exception.RollbackImpossibleException if rollback is not supported for this change
     */
    public void rollback(Database database) throws CustomChangeException, RollbackImpossibleException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy