All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.diff.output.changelog.ChangeGenerator Maven / Gradle / Ivy

There is a newer version: 3.6.2.5.inovus
Show newest version
package liquibase.diff.output.changelog;

import liquibase.change.Change;
import liquibase.database.Database;
import liquibase.diff.compare.CompareControl;
import liquibase.structure.DatabaseObject;

public interface ChangeGenerator {

    final int PRIORITY_NONE = -1;
    final int PRIORITY_DEFAULT = 1;
    final int PRIORITY_DATABASE = 5;
    final int PRIORITY_ADDITIONAL = 50;

    int getPriority(Class objectType, Database database);

    Class[] runAfterTypes();
    Class[] runBeforeTypes();

    Change[] fixSchema(Change[] changes, CompareControl.SchemaComparison[] schemaComparisons);

    Change[] fixOutputAsSchema(Change[] changes, CompareControl.SchemaComparison[] schemaComparisons);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy