liquibase.snapshot
Interface SnapshotGenerator
- All Known Implementing Classes:
- CatalogSnapshotGenerator, ColumnSnapshotGenerator, DataSnapshotGenerator, ForeignKeySnapshotGenerator, H2ColumnSnapshotGenerator, IndexSnapshotGenerator, JdbcSnapshotGenerator, PrimaryKeySnapshotGenerator, SchemaSnapshotGenerator, SequenceSnapshotGenerator, TableSnapshotGenerator, UniqueConstraintSnapshotGenerator, ViewSnapshotGenerator
public interface SnapshotGenerator
PRIORITY_NONE
static final int PRIORITY_NONE
- See Also:
- Constant Field Values
PRIORITY_DEFAULT
static final int PRIORITY_DEFAULT
- See Also:
- Constant Field Values
PRIORITY_DATABASE
static final int PRIORITY_DATABASE
- See Also:
- Constant Field Values
PRIORITY_ADDITIONAL
static final int PRIORITY_ADDITIONAL
- See Also:
- Constant Field Values
getPriority
int getPriority(Class<? extends DatabaseObject> objectType,
Database database)
snapshot
<T extends DatabaseObject> T snapshot(T example,
DatabaseSnapshot snapshot,
SnapshotGeneratorChain chain)
throws DatabaseException,
InvalidExampleException
- Throws:
DatabaseException
InvalidExampleException
addsTo
Class<? extends DatabaseObject>[] addsTo()
replaces
Class<? extends SnapshotGenerator>[] replaces()
- Returns classes (and superclasses) that this SnapshotGenerator replaces. Return null or empty array to not affect the SnapshotGeneratorChain.
Copyright © 2016 Liquibase.org. All rights reserved.