view src/jdbcpgbackup/DBOFactory.java @ 56:62faaba01dd2

fix naml "Watch a video" link
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 18 Oct 2021 20:36:25 -0600
parents 7ecd1a4ef557
children
line wrap: on
line source

/*	Copyright (c) 2012	Tomislav Gountchev <tomi@gountchev.net>	*/

package jdbcpgbackup;

import java.sql.Connection;
import java.sql.SQLException;

interface DBOFactory<T extends DbBackupObject> {

	Iterable<T> getDbBackupObjects(Connection con, Schema schema) throws SQLException;

	T getDbBackupObject(Connection con, String name, Schema schema) throws SQLException;

}