liquibase.diff.output.changelog.core
Class MissingForeignKeyChangeGenerator

java.lang.Object
  extended by liquibase.diff.output.changelog.AbstractChangeGenerator
      extended by liquibase.diff.output.changelog.core.MissingForeignKeyChangeGenerator
All Implemented Interfaces:
ChangeGenerator, MissingObjectChangeGenerator

public class MissingForeignKeyChangeGenerator
extends AbstractChangeGenerator
implements MissingObjectChangeGenerator


Field Summary
 
Fields inherited from interface liquibase.diff.output.changelog.ChangeGenerator
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
 
Constructor Summary
MissingForeignKeyChangeGenerator()
           
 
Method Summary
 Change[] fixMissing(DatabaseObject missingObject, 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
 
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 Detail

MissingForeignKeyChangeGenerator

public MissingForeignKeyChangeGenerator()
Method Detail

getPriority

public int getPriority(Class<? extends DatabaseObject> objectType,
                       Database database)
Specified by:
getPriority in interface ChangeGenerator

runAfterTypes

public Class<? extends DatabaseObject>[] runAfterTypes()
Specified by:
runAfterTypes in interface ChangeGenerator

runBeforeTypes

public Class<? extends DatabaseObject>[] runBeforeTypes()
Specified by:
runBeforeTypes in interface ChangeGenerator

fixMissing

public Change[] fixMissing(DatabaseObject missingObject,
                           DiffOutputControl control,
                           Database referenceDatabase,
                           Database comparisonDatabase,
                           ChangeGeneratorChain chain)
Specified by:
fixMissing in interface MissingObjectChangeGenerator


Copyright © 2016 Liquibase.org. All rights reserved.