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

liquibase.integration.ant.DiffDatabaseToChangeLogTask Maven / Gradle / Ivy

There is a newer version: 4.30.0
Show newest version
package liquibase.integration.ant;

import liquibase.database.Database;
import liquibase.diff.DiffResult;

import java.io.PrintStream;

public class DiffDatabaseToChangeLogTask extends DiffDatabaseTask {
    @Override
    protected void outputDiff(PrintStream writer, DiffResult diffResult, Database targetDatabase) throws Exception {
        if (getChangeLogFile() == null) {
            diffResult.printChangeLog(writer, targetDatabase);
        } else {
            diffResult.printChangeLog(getChangeLogFile(), targetDatabase);
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy