liquibase.changelog
Class AbstractChangeLogHistoryService
java.lang.Object
liquibase.changelog.AbstractChangeLogHistoryService
- All Implemented Interfaces:
- ChangeLogHistoryService, PrioritizedService
- Direct Known Subclasses:
- OfflineChangeLogHistoryService, StandardChangeLogHistoryService
public abstract class AbstractChangeLogHistoryService
- extends Object
- implements ChangeLogHistoryService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractChangeLogHistoryService
public AbstractChangeLogHistoryService()
getDatabase
public Database getDatabase()
setDatabase
public void setDatabase(Database database)
- Specified by:
setDatabase
in interface ChangeLogHistoryService
reset
public void reset()
- Specified by:
reset
in interface ChangeLogHistoryService
getRunStatus
public ChangeSet.RunStatus getRunStatus(ChangeSet changeSet)
throws DatabaseException,
DatabaseHistoryException
- Specified by:
getRunStatus
in interface ChangeLogHistoryService
- Throws:
DatabaseException
DatabaseHistoryException
upgradeChecksums
public void upgradeChecksums(DatabaseChangeLog databaseChangeLog,
Contexts contexts,
LabelExpression labels)
throws DatabaseException
- Description copied from interface:
ChangeLogHistoryService
- Upgrades any existing checksums with an out of date version
- Specified by:
upgradeChecksums
in interface ChangeLogHistoryService
- Throws:
DatabaseException
getRanChangeSet
public RanChangeSet getRanChangeSet(ChangeSet changeSet)
throws DatabaseException,
DatabaseHistoryException
- Specified by:
getRanChangeSet
in interface ChangeLogHistoryService
- Throws:
DatabaseException
DatabaseHistoryException
getRanDate
public Date getRanDate(ChangeSet changeSet)
throws DatabaseException,
DatabaseHistoryException
- Description copied from interface:
ChangeLogHistoryService
- Returns the date the given changeSet was ran. Returns null if changeSet was not null.
- Specified by:
getRanDate
in interface ChangeLogHistoryService
- Throws:
DatabaseException
DatabaseHistoryException
replaceChecksum
protected abstract void replaceChecksum(ChangeSet changeSet)
throws DatabaseException
- Throws:
DatabaseException
Copyright © 2015 Liquibase.org. All rights reserved.