| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| CustomTaskRollback | 
 | 
 | 1.0;1 | 
| 1 |  package liquibase.change.custom; | |
| 2 | ||
| 3 |  import liquibase.database.Database; | |
| 4 |  import liquibase.exception.CustomChangeException; | |
| 5 |  import liquibase.exception.RollbackImpossibleException; | |
| 6 |  import liquibase.exception.UnsupportedChangeException; | |
| 7 | ||
| 8 | public interface CustomTaskRollback { | |
| 9 | ||
| 10 |      /** | |
| 11 |       * Method called to rollback the change. | |
| 12 |       *  | |
| 13 |       * @param database | |
| 14 |       *            Database the change is being executed against. | |
| 15 |       * @throws liquibase.exception.CustomChangeException | |
| 16 |       *             an exception occurs while processing this rollback | |
| 17 |       * @throws liquibase.exception.UnsupportedChangeException | |
| 18 |       *             if this change is not supported by the {@link liquibase.database.Database} passed as argument | |
| 19 |       * @throws liquibase.exception.RollbackImpossibleException | |
| 20 |       *             if rollback is not supported for this change | |
| 21 |       */ | |
| 22 | public void rollback(Database database) throws CustomChangeException, UnsupportedChangeException, | |
| 23 | RollbackImpossibleException; | |
| 24 | } |