Class SnapshotControl

  • All Implemented Interfaces:
    LiquibaseSerializable

    public class SnapshotControl
    extends Object
    implements LiquibaseSerializable
    Allows the class user to influence various aspects of the database object snapshot generation, e.g. what types of database objects they want.
    • Constructor Detail

      • SnapshotControl

        public SnapshotControl​(Database database)
        Create a SnapshotControl for a given database and mark the database's standard types for inclusion.
        Parameters:
        database - the DBMS for which snapshots should be generated
      • SnapshotControl

        @SafeVarargs
        public SnapshotControl​(Database database,
                               Class<? extends DatabaseObject>... types)
        Create a Snapshot control for a given database, but explicitly set the object types to be included in snapshots.
        Parameters:
        database - the DBMS for which snapshots should be generated
        types - the list of object types to be included in the snapshot
      • SnapshotControl

        public SnapshotControl​(Database database,
                               String types)
        Create a Snapshot control for a given database, but explicitly set the object types to be included in snapshots.
        Parameters:
        database - the DBMS for which snapshots should be generated
        types - the list of object types to be included in the snapshot, separated by commas