public class StandardDiffGenerator extends Object implements DiffGenerator
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
Constructor and Description |
---|
StandardDiffGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkVersionInfo(DatabaseSnapshot referenceSnapshot,
DatabaseSnapshot comparisonSnapshot,
DiffResult diffResult) |
DiffResult |
compare(DatabaseSnapshot referenceSnapshot,
DatabaseSnapshot comparisonSnapshot,
CompareControl compareControl) |
protected <T extends DatabaseObject> |
compareObjectType(Class<T> type,
DatabaseSnapshot referenceSnapshot,
DatabaseSnapshot comparisonSnapshot,
DiffResult diffResult) |
int |
getPriority() |
boolean |
supports(Database referenceDatabase,
Database comparisonDatabase) |
public int getPriority()
getPriority
in interface PrioritizedService
public boolean supports(Database referenceDatabase, Database comparisonDatabase)
supports
in interface DiffGenerator
public DiffResult compare(DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, CompareControl compareControl) throws DatabaseException
compare
in interface DiffGenerator
DatabaseException
protected void checkVersionInfo(DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, DiffResult diffResult) throws DatabaseException
DatabaseException
protected <T extends DatabaseObject> void compareObjectType(Class<T> type, DatabaseSnapshot referenceSnapshot, DatabaseSnapshot comparisonSnapshot, DiffResult diffResult)
Copyright © 2022 Liquibase.org. All rights reserved.