Package liquibase.diff.core
Class StandardDiffGenerator
java.lang.Object
liquibase.diff.core.StandardDiffGenerator
- All Implemented Interfaces:
DiffGenerator
,PrioritizedService
-
Field Summary
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkVersionInfo
(DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, DiffResult diffResult) compare
(DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, CompareControl compareControl) protected <T extends DatabaseObject>
voidcompareObjectType
(Class<T> type, DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, DiffResult diffResult) int
boolean
-
Constructor Details
-
StandardDiffGenerator
public StandardDiffGenerator()
-
-
Method Details
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfacePrioritizedService
-
supports
- Specified by:
supports
in interfaceDiffGenerator
-
compare
public DiffResult compare(DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, CompareControl compareControl) throws DatabaseException - Specified by:
compare
in interfaceDiffGenerator
- Throws:
DatabaseException
-
checkVersionInfo
protected void checkVersionInfo(DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, DiffResult diffResult) throws DatabaseException - Throws:
DatabaseException
-
compareObjectType
protected <T extends DatabaseObject> void compareObjectType(Class<T> type, DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, DiffResult diffResult)
-