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: 4.30.0
Show newest version
package liquibase.change.custom;

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

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.UnsupportedChangeException if this change is not supported by the {@link liquibase.database.Database} passed as argument
     * @throws liquibase.exception.RollbackImpossibleException if rollback is not supported for this change
     */
    public void rollback(Database database) throws CustomChangeException, UnsupportedChangeException, RollbackImpossibleException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy