liquibase.diff.output.report
Class DiffToReport

java.lang.Object
  extended by liquibase.diff.output.report.DiffToReport

public class DiffToReport
extends Object


Constructor Summary
DiffToReport(DiffResult diffResult, PrintStream out)
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)

includeSchemaComparison

protected String includeSchemaComparison(String schemaName)

printComparison

protected void printComparison(String title,
                               StringDiff string,
                               PrintStream out)


Copyright © 2016 Liquibase.org. All rights reserved.