liquibase.diff.output.changelog.core
Class UnexpectedColumnChangeGenerator

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

public class UnexpectedColumnChangeGenerator
extends AbstractChangeGenerator
implements UnexpectedObjectChangeGenerator


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

UnexpectedColumnChangeGenerator

public UnexpectedColumnChangeGenerator()
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

fixUnexpected

public Change[] fixUnexpected(DatabaseObject unexpectedObject,
                              DiffOutputControl control,
                              Database referenceDatabase,
                              Database comparisonDatabase,
                              ChangeGeneratorChain chain)
Specified by:
fixUnexpected in interface UnexpectedObjectChangeGenerator


Copyright © 2016 Liquibase.org. All rights reserved.