Coverage Report - liquibase.precondition.Precondition
 
Classes in this File Line Coverage Branch Coverage Complexity
Precondition
N/A
N/A
1
 
 1  
 package liquibase.precondition;
 2  
 
 3  
 import liquibase.changelog.DatabaseChangeLog;
 4  
 import liquibase.changelog.ChangeSet;
 5  
 import liquibase.database.Database;
 6  
 import liquibase.exception.PreconditionErrorException;
 7  
 import liquibase.exception.PreconditionFailedException;
 8  
 import liquibase.exception.ValidationErrors;
 9  
 import liquibase.exception.Warnings;
 10  
 
 11  
 /**
 12  
  * Marker interface for preconditions. May become an annotation in the future.
 13  
  */
 14  
 public interface Precondition {
 15  
     public String getName();
 16  
 
 17  
     public Warnings warn(Database database);
 18  
 
 19  
     public ValidationErrors validate(Database database);
 20  
 
 21  
     public void check(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet)
 22  
             throws PreconditionFailedException, PreconditionErrorException;
 23  
 
 24  
 }