liquibase.snapshot.jvm
Class JdbcSnapshotGenerator
java.lang.Object
liquibase.snapshot.jvm.JdbcSnapshotGenerator
- All Implemented Interfaces:
- SnapshotGenerator
- Direct Known Subclasses:
- CatalogSnapshotGenerator, ColumnSnapshotGenerator, ForeignKeySnapshotGenerator, IndexSnapshotGenerator, PrimaryKeySnapshotGenerator, SchemaSnapshotGenerator, SequenceSnapshotGenerator, TableSnapshotGenerator, UniqueConstraintSnapshotGenerator, ViewSnapshotGenerator
public abstract class JdbcSnapshotGenerator
- extends Object
- implements SnapshotGenerator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcSnapshotGenerator
protected JdbcSnapshotGenerator(Class<? extends DatabaseObject> defaultFor)
JdbcSnapshotGenerator
protected JdbcSnapshotGenerator(Class<? extends DatabaseObject> defaultFor,
Class<? extends DatabaseObject>[] addsTo)
getPriority
public int getPriority(Class<? extends DatabaseObject> objectType,
Database database)
- Specified by:
getPriority
in interface SnapshotGenerator
snapshot
public DatabaseObject snapshot(DatabaseObject example,
DatabaseSnapshot snapshot,
SnapshotGeneratorChain chain)
throws DatabaseException,
InvalidExampleException
- Specified by:
snapshot
in interface SnapshotGenerator
- Throws:
DatabaseException
InvalidExampleException
snapshotObject
protected abstract DatabaseObject snapshotObject(DatabaseObject example,
DatabaseSnapshot snapshot)
throws DatabaseException,
InvalidExampleException
- Throws:
DatabaseException
InvalidExampleException
addTo
protected abstract void addTo(DatabaseObject foundObject,
DatabaseSnapshot snapshot)
throws DatabaseException,
InvalidExampleException
- Throws:
DatabaseException
InvalidExampleException
addStatusListener
public void addStatusListener(DiffStatusListener listener)
updateListeners
protected void updateListeners(String message)
cleanNameFromDatabase
protected String cleanNameFromDatabase(String objectName,
Database database)
Copyright © 2013 Liquibase.org. All Rights Reserved.