01: package liquibase.preconditions;
02:
03: import liquibase.DatabaseChangeLog;
04: import liquibase.database.Database;
05: import liquibase.exception.PreconditionFailedException;
06:
07: /**
08: * Marker interface for preconditions. May become an annotation in the future.
09: */
10: public interface Precondition {
11: public void check(Database database, DatabaseChangeLog changeLog)
12: throws PreconditionFailedException;
13:
14: public String getTagName();
15: }
|