view src/jdbcpgbackup/DataFilter.java @ 6:c4ed473452d4

better https support
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 22 Jul 2019 05:37:46 -0400
parents 7ecd1a4ef557
children
line wrap: on
line source

package jdbcpgbackup;


public interface DataFilter {
	public boolean dumpData(String schema,String tableName);

	public static final DataFilter ALL_DATA = new DataFilter() {
		public boolean dumpData(String schema,String tableName) {
			return true;
		}
	};

	public static final DataFilter NO_DATA = new DataFilter() {
		public boolean dumpData(String schema,String tableName) {
			return false;
		}
	};
}