com.rsmart.kuali.tools.liquibase
Class Diff
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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.