1 | |
package liquibase.dbdoc; |
2 | |
|
3 | |
import liquibase.change.Change; |
4 | |
import liquibase.database.Database; |
5 | |
|
6 | |
import java.io.File; |
7 | |
import java.io.FileWriter; |
8 | |
import java.io.IOException; |
9 | |
import java.util.List; |
10 | |
|
11 | |
public class AuthorWriter extends HTMLWriter { |
12 | |
|
13 | |
public AuthorWriter(File rootOutputDir, Database database) { |
14 | 0 | super(new File(rootOutputDir, "authors"), database); |
15 | 0 | } |
16 | |
|
17 | |
@Override |
18 | |
protected String createTitle(Object object) { |
19 | 0 | return "Changes created by author " + object.toString(); |
20 | |
} |
21 | |
|
22 | |
@Override |
23 | |
protected void writeCustomHTML(FileWriter fileWriter, Object object, List<Change> changes, Database database) |
24 | |
throws IOException { |
25 | 0 | } |
26 | |
} |