Package liquibase.snapshot.jvm
Class CatalogSnapshotGenerator
java.lang.Object
liquibase.snapshot.jvm.JdbcSnapshotGenerator
liquibase.snapshot.jvm.CatalogSnapshotGenerator
- All Implemented Interfaces:
SnapshotGenerator
-
Field Summary
Fields inherited from interface liquibase.snapshot.SnapshotGenerator
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addTo
(DatabaseObject foundObject, DatabaseSnapshot snapshot) protected boolean
isDefaultCatalog
(Catalog match, Database database) protected DatabaseObject
snapshotObject
(DatabaseObject example, DatabaseSnapshot snapshot) Methods inherited from class liquibase.snapshot.jvm.JdbcSnapshotGenerator
addStatusListener, addsTo, cleanNameFromDatabase, getDatabaseCatalogNames, getPriority, replaces, shouldAddTo, snapshot, updateListeners
-
Constructor Details
-
CatalogSnapshotGenerator
public CatalogSnapshotGenerator()
-
-
Method Details
-
snapshotObject
protected DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException - Specified by:
snapshotObject
in classJdbcSnapshotGenerator
- Throws:
DatabaseException
InvalidExampleException
-
isDefaultCatalog
-
addTo
protected void addTo(DatabaseObject foundObject, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException - Specified by:
addTo
in classJdbcSnapshotGenerator
- Throws:
DatabaseException
InvalidExampleException
-