Package liquibase.diff.output.report
Class DiffToReport
- java.lang.Object
-
- liquibase.diff.output.report.DiffToReport
-
public class DiffToReport extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected DiffResult
diffResult
-
Constructor Summary
Constructors Constructor Description DiffToReport(DiffResult diffResult, PrintStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringUtil.StringUtilFormatter
createFormatter()
protected boolean
getIncludeSchema()
protected String
getTypeName(Class<? extends DatabaseObject> type)
protected String
includeSchemaComparison(String schemaName)
void
print()
protected void
printChangedComparison(String title, Map<? extends DatabaseObject,ObjectDifferences> objects, PrintStream out)
protected void
printComparison(String title, StringDiff string, PrintStream out)
protected void
printSetComparison(String title, Set<? extends DatabaseObject> objects, PrintStream out)
-
-
-
Field Detail
-
diffResult
protected DiffResult diffResult
-
-
Constructor Detail
-
DiffToReport
public DiffToReport(DiffResult diffResult, PrintStream out)
-
-
Method Detail
-
print
public void print() throws DatabaseException
- Throws:
DatabaseException
-
getTypeName
protected String getTypeName(Class<? extends DatabaseObject> type)
-
getIncludeSchema
protected boolean getIncludeSchema()
-
printChangedComparison
protected void printChangedComparison(String title, Map<? extends DatabaseObject,ObjectDifferences> objects, PrintStream out)
-
printSetComparison
protected void printSetComparison(String title, Set<? extends DatabaseObject> objects, PrintStream out)
-
printComparison
protected void printComparison(String title, StringDiff string, PrintStream out)
-
createFormatter
public StringUtil.StringUtilFormatter createFormatter()
-
-