public class SnapshotGeneratorFactory extends Object
Modifier | Constructor and Description |
---|---|
protected |
SnapshotGeneratorFactory() |
public static SnapshotGeneratorFactory getInstance()
public static void reset()
public void register(SnapshotGenerator generator)
public void unregister(SnapshotGenerator generator)
public void unregister(Class generatorClass)
protected SortedSet<SnapshotGenerator> getGenerators(Class<? extends DatabaseObject> generatorClass, Database database)
public boolean has(DatabaseObject example, Database database) throws DatabaseException, InvalidExampleException
public DatabaseSnapshot createSnapshot(CatalogAndSchema example, Database database, SnapshotControl snapshotControl) throws DatabaseException, InvalidExampleException
public DatabaseSnapshot createSnapshot(CatalogAndSchema[] examples, Database database, SnapshotControl snapshotControl) throws DatabaseException, InvalidExampleException
public DatabaseSnapshot createSnapshot(DatabaseObject[] examples, Database database, SnapshotControl snapshotControl) throws DatabaseException, InvalidExampleException
public <T extends DatabaseObject> T createSnapshot(T example, Database database) throws DatabaseException, InvalidExampleException
public <T extends DatabaseObject> T createSnapshot(T example, Database database, SnapshotControl snapshotControl) throws DatabaseException, InvalidExampleException
public Table getDatabaseChangeLogTable(SnapshotControl snapshotControl, Database database) throws DatabaseException
DatabaseException
public Table getDatabaseChangeLogLockTable(Database database) throws DatabaseException
DatabaseException
public boolean hasDatabaseChangeLogTable(Database database) throws DatabaseException
DatabaseException
public boolean hasDatabaseChangeLogLockTable(Database database) throws DatabaseException
DatabaseException
public static void resetAll()
public Set<Class<? extends DatabaseObject>> getContainerTypes(Class<? extends DatabaseObject> type, Database database)
Copyright © 2016 Liquibase.org. All rights reserved.