Package liquibase.changelog.visitor
Class UpdateVisitor
java.lang.Object
liquibase.changelog.visitor.UpdateVisitor
- All Implemented Interfaces:
ChangeSetVisitor
-
Nested Class Summary
Nested classes/interfaces inherited from interface liquibase.changelog.visitor.ChangeSetVisitor
ChangeSetVisitor.Direction
-
Constructor Summary
ConstructorDescriptionUpdateVisitor
(Database database) Deprecated.- please use the constructor with ChangeExecListener, which can be null.UpdateVisitor
(Database database, ChangeExecListener execListener) UpdateVisitor
(Database database, ChangeExecListener execListener, ShouldRunChangeSetFilter shouldRunChangeSetFilter) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
fireRan
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database2, ChangeSet.ExecType execType) protected void
fireRunFailed
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, MigrationFailedException e) protected void
fireWillRun
(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database2, ChangeSet.RunStatus runStatus) 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
-
UpdateVisitor
Deprecated.- please use the constructor with ChangeExecListener, which can be null. -
UpdateVisitor
-
UpdateVisitor
public UpdateVisitor(Database database, ChangeExecListener execListener, ShouldRunChangeSetFilter shouldRunChangeSetFilter)
-
-
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
-
fireRunFailed
protected void fireRunFailed(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, MigrationFailedException e) -
fireWillRun
protected void fireWillRun(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database2, ChangeSet.RunStatus runStatus) -
fireRan
protected void fireRan(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database2, ChangeSet.ExecType execType)
-