Class CloseableLiquibase

java.lang.Object
liquibase.Liquibase
io.dropwizard.migrations.CloseableLiquibase
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
CloseableLiquibaseWithClassPathMigrationsFile, CloseableLiquibaseWithFileSystemMigrationsFile

public abstract class CloseableLiquibase extends liquibase.Liquibase implements AutoCloseable
  • Field Summary

    Fields inherited from class liquibase.Liquibase

    database, MSG_COULD_NOT_RELEASE_LOCK
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CloseableLiquibase(String changeLogFile, liquibase.resource.ResourceAccessor resourceAccessor, liquibase.database.DatabaseConnection conn, ManagedDataSource dataSource)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class liquibase.Liquibase

    calculateCheckSum, calculateCheckSum, changeLogSync, changeLogSync, changeLogSync, changeLogSync, changeLogSync, changeLogSync, changeLogSync, changeLogSync, changeLogSync, checkLiquibaseTables, clearCheckSums, diff, dropAll, dropAll, forceReleaseLocks, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, generateChangeLog, generateChangeLog, generateDocumentation, generateDocumentation, generateDocumentation, generateDocumentation, getChangeLogFile, getChangeLogParameters, getChangeSetStatuses, getChangeSetStatuses, getChangeSetStatuses, getDatabase, getDatabaseChangeLog, getDefaultChangeExecListener, getLog, getResourceAccessor, getStandardChangelogIterator, isSafeToRunUpdate, isUpToDateFastCheck, listLocks, listUnexpectedChangeSets, listUnexpectedChangeSets, listUnrunChangeSets, listUnrunChangeSets, listUnrunChangeSets, markNextChangeSetRan, markNextChangeSetRan, markNextChangeSetRan, markNextChangeSetRan, outputHeader, reportLocks, reportStatus, reportStatus, reportStatus, reportUnexpectedChangeSets, reportUnexpectedChangeSets, resetServices, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, rollback, setChangeExecListener, setChangeLogParameter, setShowSummary, setShowSummaryOutput, tag, tagExists, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, updateTestingRollback, updateTestingRollback, updateTestingRollback, validate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CloseableLiquibase

      protected CloseableLiquibase(String changeLogFile, liquibase.resource.ResourceAccessor resourceAccessor, liquibase.database.DatabaseConnection conn, ManagedDataSource dataSource) throws liquibase.exception.LiquibaseException, SQLException
      Throws:
      liquibase.exception.LiquibaseException
      SQLException
  • Method Details

    • close

      public void close() throws liquibase.exception.LiquibaseException
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class liquibase.Liquibase
      Throws:
      liquibase.exception.LiquibaseException