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
Constructors Constructor Description ChangedUniqueConstraintChangeGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AddUniqueConstraintChange
createAddUniqueConstraintChange()
protected DropUniqueConstraintChange
createDropUniqueConstraintChange()
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>[]
runAfterTypes()
Class<? extends DatabaseObject>[]
runBeforeTypes()
-
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
-
-
-
-
Method Detail
-
getPriority
public int getPriority(Class<? extends DatabaseObject> objectType, Database database)
- Specified by:
getPriority
in interfaceChangeGenerator
-
runBeforeTypes
public Class<? extends DatabaseObject>[] runBeforeTypes()
- Specified by:
runBeforeTypes
in interfaceChangeGenerator
-
runAfterTypes
public Class<? extends DatabaseObject>[] 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
protected DropUniqueConstraintChange createDropUniqueConstraintChange()
-
createAddUniqueConstraintChange
protected AddUniqueConstraintChange createAddUniqueConstraintChange()
-
-