Coverage Report - liquibase.changelog.visitor.ChangeLogSyncVisitor
 
Classes in this File Line Coverage Branch Coverage Complexity
ChangeLogSyncVisitor
0%
0/6
N/A
1
 
 1  
 package liquibase.changelog.visitor;
 2  
 
 3  
 import liquibase.changelog.ChangeSet;
 4  
 import liquibase.changelog.DatabaseChangeLog;
 5  
 import liquibase.database.Database;
 6  
 import liquibase.exception.LiquibaseException;
 7  
 
 8  
 public class ChangeLogSyncVisitor implements ChangeSetVisitor {
 9  
 
 10  
     private Database database;
 11  
 
 12  0
     public ChangeLogSyncVisitor(Database database) {
 13  0
         this.database = database;
 14  0
     }
 15  
 
 16  
     public Direction getDirection() {
 17  0
         return ChangeSetVisitor.Direction.FORWARD;
 18  
     }
 19  
 
 20  
     public void visit(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database)
 21  
             throws LiquibaseException {
 22  0
         this.database.markChangeSetExecStatus(changeSet, ChangeSet.ExecType.EXECUTED);
 23  0
     }
 24  
 }