/db-migrate/src/main/java/com/googlecode/hdbc/dbmigrate/io/IFileProvider.java
http://hdbc.googlecode.com/ · Java · 21 lines · 16 code · 5 blank · 0 comment · 0 complexity · f4daf1e26c2aa2835670bb43a4948862 MD5 · raw file
- package com.googlecode.hdbc.dbmigrate.io;
-
- import java.io.IOException;
- import java.util.List;
- import java.util.Properties;
-
- public interface IFileProvider {
-
- String[] migrationFileList();
- String templateContent(String templateType) throws IOException;
- void writeDoFile(String fileName, String fileContent) throws IOException;
- void writeUndoFile(String fileName, String fileContent) throws IOException;
- void writeMasterMigrationDoScript(List<String> files) throws IOException;
- void writeMasterMigrationUnDoScript(List<String> files) throws IOException;
-
- void initializeDoDirectory(String schema) throws IOException;
- void initializeUnDoDirectory(String schema) throws IOException;
- void initializeTemplatesDirectory(String schema) throws IOException;
-
- Properties readProperties() throws IOException;
- }