annotate src/jdbcpgbackup/DBOFactory.java @ 2:abe0694e9849
replace local_dir with home_dir
author |
Franklin Schmidt <fschmidt@gmail.com> |
date |
Mon, 25 Mar 2019 13:59:13 -0600 |
parents |
7ecd1a4ef557 |
children |
|
rev |
line source |
0
|
1 /* Copyright (c) 2012 Tomislav Gountchev <tomi@gountchev.net> */
|
|
2
|
|
3 package jdbcpgbackup;
|
|
4
|
|
5 import java.sql.Connection;
|
|
6 import java.sql.SQLException;
|
|
7
|
|
8 interface DBOFactory<T extends DbBackupObject> {
|
|
9
|
|
10 Iterable<T> getDbBackupObjects(Connection con, Schema schema) throws SQLException;
|
|
11
|
|
12 T getDbBackupObject(Connection con, String name, Schema schema) throws SQLException;
|
|
13
|
|
14 }
|