com.rsmart.kuali.tools.liquibase
Class Diff

java.lang.Object
  extended by com.rsmart.kuali.tools.liquibase.Diff

public class Diff
extends Object


Constructor Summary
Diff(liquibase.database.Database referenceDatabase, liquibase.database.Database targetDatabase)
           
Diff(liquibase.snapshot.DatabaseSnapshot referenceSnapshot, liquibase.snapshot.DatabaseSnapshot targetDatabaseSnapshot)
           
Diff(liquibase.database.Database originalDatabase, String schema)
           
 
Method Summary
 void addStatusListener(liquibase.diff.DiffStatusListener listener)
           
 DiffResult compare()
           
 void removeStatusListener(liquibase.diff.DiffStatusListener listener)
           
 void setDiffColumns(boolean diffColumns)
           
 void setDiffData(boolean diffData)
           
 void setDiffForeignKeys(boolean diffForeignKeys)
           
 void setDiffIndexes(boolean diffIndexes)
           
 void setDiffPrimaryKeys(boolean diffPrimaryKeys)
           
 void setDiffSequences(boolean diffSequences)
           
 void setDiffTables(boolean diffTables)
           
 void setDiffTypes(String diffTypes)
           
 void setDiffUniqueConstraints(boolean diffUniqueConstraints)
           
 void setDiffViews(boolean diffViews)
           
 boolean shouldDiffColumns()
           
 boolean shouldDiffData()
           
 boolean shouldDiffForeignKeys()
           
 boolean shouldDiffIndexes()
           
 boolean shouldDiffPrimaryKeys()
           
 boolean shouldDiffSequences()
           
 boolean shouldDiffTables()
           
 boolean shouldDiffUniqueConstraints()
           
 boolean shouldDiffViews()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Diff

public Diff(liquibase.database.Database referenceDatabase,
            liquibase.database.Database targetDatabase)

Diff

public Diff(liquibase.database.Database originalDatabase,
            String schema)
     throws liquibase.exception.DatabaseException
Throws:
liquibase.exception.DatabaseException

Diff

public Diff(liquibase.snapshot.DatabaseSnapshot referenceSnapshot,
            liquibase.snapshot.DatabaseSnapshot targetDatabaseSnapshot)
Method Detail

addStatusListener

public void addStatusListener(liquibase.diff.DiffStatusListener listener)

removeStatusListener

public void removeStatusListener(liquibase.diff.DiffStatusListener listener)

compare

public DiffResult compare()
                   throws liquibase.exception.DatabaseException
Throws:
liquibase.exception.DatabaseException

setDiffTypes

public void setDiffTypes(String diffTypes)

shouldDiffTables

public boolean shouldDiffTables()

setDiffTables

public void setDiffTables(boolean diffTables)

shouldDiffColumns

public boolean shouldDiffColumns()

setDiffColumns

public void setDiffColumns(boolean diffColumns)

shouldDiffViews

public boolean shouldDiffViews()

setDiffViews

public void setDiffViews(boolean diffViews)

shouldDiffPrimaryKeys

public boolean shouldDiffPrimaryKeys()

setDiffPrimaryKeys

public void setDiffPrimaryKeys(boolean diffPrimaryKeys)

shouldDiffIndexes

public boolean shouldDiffIndexes()

setDiffIndexes

public void setDiffIndexes(boolean diffIndexes)

shouldDiffForeignKeys

public boolean shouldDiffForeignKeys()

setDiffForeignKeys

public void setDiffForeignKeys(boolean diffForeignKeys)

shouldDiffSequences

public boolean shouldDiffSequences()

setDiffSequences

public void setDiffSequences(boolean diffSequences)

shouldDiffData

public boolean shouldDiffData()

setDiffData

public void setDiffData(boolean diffData)

shouldDiffUniqueConstraints

public boolean shouldDiffUniqueConstraints()

setDiffUniqueConstraints

public void setDiffUniqueConstraints(boolean diffUniqueConstraints)


Copyright © 2011 Leo Przybylski. All Rights Reserved.