Package io.dropwizard.migrations
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
-
-
Constructor Summary
Constructors Constructor Description CloseableLiquibase(String changeLogFile, liquibase.resource.ResourceAccessor resourceAccessor, liquibase.database.DatabaseConnection conn, ManagedDataSource dataSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()-
Methods inherited from class liquibase.Liquibase
buildRawSQLChange, calculateCheckSum, calculateCheckSum, changeLogSync, changeLogSync, changeLogSync, changeLogSync, changeLogSync, checkLiquibaseTables, clearCheckSums, createRollbackVisitor, createUpdateVisitor, diff, dropAll, dropAll, executeRollbackScript, forceReleaseLocks, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, futureRollbackSQL, generateChangeLog, generateChangeLog, generateDocumentation, generateDocumentation, generateDocumentation, getChangeLogFile, getChangeLogParameters, getChangeSetStatuses, getChangeSetStatuses, getChangeSetStatuses, getDatabase, getDatabaseChangeLog, getLog, getResourceAccessor, getStandardChangelogIterator, isIgnoreClasspathPrefix, isSafeToRunUpdate, listLocks, listUnexpectedChangeSets, listUnexpectedChangeSets, listUnrunChangeSets, listUnrunChangeSets, listUnrunChangeSets, markNextChangeSetRan, markNextChangeSetRan, markNextChangeSetRan, markNextChangeSetRan, outputHeader, removeRunStatus, 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, setChangeLogSyncListener, setIgnoreClasspathPrefix, tag, tagExists, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, update, updateTestingRollback, updateTestingRollback, updateTestingRollback, validate
-
-
-
-
Constructor Detail
-
CloseableLiquibase
public CloseableLiquibase(String changeLogFile, liquibase.resource.ResourceAccessor resourceAccessor, liquibase.database.DatabaseConnection conn, ManagedDataSource dataSource) throws liquibase.exception.LiquibaseException, SQLException
- Throws:
liquibase.exception.LiquibaseExceptionSQLException
-
-
Method Detail
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classliquibase.Liquibase- Throws:
Exception
-
-