Class ChangedUniqueConstraintChangeGenerator
java.lang.Object
liquibase.diff.output.changelog.AbstractChangeGenerator
liquibase.diff.output.changelog.core.ChangedUniqueConstraintChangeGenerator
- All Implemented Interfaces:
ChangedObjectChangeGenerator
,ChangeGenerator
public class ChangedUniqueConstraintChangeGenerator
extends AbstractChangeGenerator
implements ChangedObjectChangeGenerator
-
Field Summary
Fields inherited from interface liquibase.diff.output.changelog.ChangeGenerator
EMPTY_CHANGE, PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AddUniqueConstraintChange
protected DropUniqueConstraintChange
Change[]
fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) int
getPriority
(Class<? extends DatabaseObject> objectType, Database database) Class<? extends DatabaseObject>[]
Class<? extends DatabaseObject>[]
Methods inherited from class liquibase.diff.output.changelog.AbstractChangeGenerator
fixOutputAsSchema, fixSchema, setRespectSchemaAndCatalogCase
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface liquibase.diff.output.changelog.ChangeGenerator
fixOutputAsSchema, fixSchema
-
Constructor Details
-
ChangedUniqueConstraintChangeGenerator
public ChangedUniqueConstraintChangeGenerator()
-
-
Method Details
-
getPriority
- Specified by:
getPriority
in interfaceChangeGenerator
-
runBeforeTypes
- Specified by:
runBeforeTypes
in interfaceChangeGenerator
-
runAfterTypes
- Specified by:
runAfterTypes
in interfaceChangeGenerator
-
fixChanged
public Change[] fixChanged(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) - Specified by:
fixChanged
in interfaceChangedObjectChangeGenerator
-
createDropUniqueConstraintChange
-
createAddUniqueConstraintChange
-