Package liquibase.snapshot
Interface SnapshotListener
-
public interface SnapshotListener
Listener interface to be called during the snapshot process. Attach instances toSnapshotControl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
finishedSnapshot(DatabaseObject example, DatabaseObject snapshot, Database database)
Called after an object is fully loaded from the database.void
willSnapshot(DatabaseObject example, Database database)
Called before a snapshot is done.
-
-
-
Method Detail
-
willSnapshot
void willSnapshot(DatabaseObject example, Database database)
Called before a snapshot is done.- Parameters:
example
- Example of object to be createddatabase
- Database to be read from
-
finishedSnapshot
void finishedSnapshot(DatabaseObject example, DatabaseObject snapshot, Database database)
Called after an object is fully loaded from the database. Dependent objects may have their willSnapshot and finishSnapshot methods called before this method is called for a given example.- Parameters:
example
- Original example object used for the snapshotsnapshot
- Final snapshot objectdatabase
- Database read from
-
-