Package liquibase.changelog.visitor
Class ValidatingVisitor
- java.lang.Object
-
- liquibase.changelog.visitor.ValidatingVisitor
-
- All Implemented Interfaces:
ChangeSetVisitor
public class ValidatingVisitor extends Object implements ChangeSetVisitor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface liquibase.changelog.visitor.ChangeSetVisitor
ChangeSetVisitor.Direction
-
-
Constructor Summary
Constructors Constructor Description ValidatingVisitor()
ValidatingVisitor(List<RanChangeSet> ranChangeSets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeSetVisitor.Direction
getDirection()
void
validate(Database database, DatabaseChangeLog changeLog)
boolean
validationPassed()
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 Detail
-
ValidatingVisitor
public ValidatingVisitor()
-
ValidatingVisitor
public ValidatingVisitor(List<RanChangeSet> ranChangeSets)
-
-
Method Detail
-
validate
public void validate(Database database, DatabaseChangeLog changeLog)
-
getDirection
public ChangeSetVisitor.Direction 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
-
validationPassed
public boolean validationPassed()
-
-