liquibase.change.custom.CustomSqlRollback Interface Reference

List of all members.


Detailed Description

Interface to implement that allows rollback of a custom sql change.

See also:
liquibase.change.custom.CustomSqlChange

Definition at line 14 of file CustomSqlRollback.java.


Public Member Functions

SqlStatement[] generateRollbackStatements (Database database) throws CustomChangeException, UnsupportedChangeException, RollbackImpossibleException
 Generates the SQL statements required to roll back the change.

Member Function Documentation

SqlStatement [] liquibase.change.custom.CustomSqlRollback.generateRollbackStatements ( Database  database  )  throws CustomChangeException, UnsupportedChangeException, RollbackImpossibleException

Generates the SQL statements required to roll back the change.

Parameters:
database the target liquibase.database.Database associated to this change's rollback statements
Returns:
an array of SqlStatements with the rollback statements
Exceptions:
liquibase.exception.CustomChangeException if an exception occurs while processing this rollback
liquibase.exception.UnsupportedChangeException if this change is not supported by the liquibase.database.Database passed as argument
liquibase.exception.RollbackImpossibleException if rollback is not supported for this change


The documentation for this interface was generated from the following file:

doxygen