Package liquibase.changelog.visitor
Class ValidatingVisitor
java.lang.Object
liquibase.changelog.visitor.ValidatingVisitor
- All Implemented Interfaces:
ChangeSetVisitor
-
Nested Class Summary
Nested classes/interfaces inherited from interface liquibase.changelog.visitor.ChangeSetVisitor
ChangeSetVisitor.Direction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
additionalValidations
(ChangeSet changeSet, Database database, boolean shouldValidate, boolean ran) Other implementations of this class might optionally provide additional validations to do in this method.void
validate
(Database database, DatabaseChangeLog changeLog) protected void
validateChange
(ChangeSet changeSet, Database database, Change change, boolean shouldValidate) boolean
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
-
ValidatingVisitor
public ValidatingVisitor() -
ValidatingVisitor
-
-
Method Details
-
validate
-
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
-
additionalValidations
protected void additionalValidations(ChangeSet changeSet, Database database, boolean shouldValidate, boolean ran) Other implementations of this class might optionally provide additional validations to do in this method. -
validateChange
-
validationPassed
public boolean validationPassed()
-