Package liquibase.changelog.visitor
Class RollbackVisitor
java.lang.Object
liquibase.changelog.visitor.RollbackVisitor
- All Implemented Interfaces:
ChangeSetVisitor
-
Nested Class Summary
Nested classes/interfaces inherited from interface liquibase.changelog.visitor.ChangeSetVisitor
ChangeSetVisitor.Direction
-
Constructor Summary
ConstructorDescriptionRollbackVisitor
(Database database) Deprecated.- please use the constructor with ChangeExecListener, which can be null.RollbackVisitor
(Database database, ChangeExecListener listener) RollbackVisitor
(Database database, ChangeExecListener listener, List<ChangeSet> processedChangesets) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
fireRollbackFailed
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Exception e) void
visit
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface liquibase.changelog.visitor.ChangeSetVisitor
logMdcData
-
Constructor Details
-
RollbackVisitor
Deprecated.- please use the constructor with ChangeExecListener, which can be null. -
RollbackVisitor
-
RollbackVisitor
public RollbackVisitor(Database database, ChangeExecListener listener, List<ChangeSet> processedChangesets)
-
-
Method Details
-
getDirection
- Specified by:
getDirection
in interfaceChangeSetVisitor
-
visit
public void visit(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Set<ChangeSetFilterResult> filterResults) throws LiquibaseException - Specified by:
visit
in interfaceChangeSetVisitor
- Throws:
LiquibaseException
-
fireRollbackFailed
protected void fireRollbackFailed(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, Exception e)
-