liquibase.changelog
Interface ChangeLogHistoryService
- All Superinterfaces:
- PrioritizedService
- All Known Implementing Classes:
- AbstractChangeLogHistoryService, OfflineChangeLogHistoryService, StandardChangeLogHistoryService
public interface ChangeLogHistoryService
- extends PrioritizedService
supports
boolean supports(Database database)
setDatabase
void setDatabase(Database database)
reset
void reset()
init
void init()
throws DatabaseException
- Ensures the change log history container is correctly initialized for use. This method may be called multiple times so it should check state as needed.
- Throws:
DatabaseException
upgradeChecksums
void upgradeChecksums(DatabaseChangeLog databaseChangeLog,
Contexts contexts,
LabelExpression labels)
throws DatabaseException
- Upgrades any existing checksums with an out of date version
- Throws:
DatabaseException
getRanChangeSets
List<RanChangeSet> getRanChangeSets()
throws DatabaseException
- Throws:
DatabaseException
getRanChangeSet
RanChangeSet getRanChangeSet(ChangeSet changeSet)
throws DatabaseException,
DatabaseHistoryException
- Throws:
DatabaseException
DatabaseHistoryException
getRunStatus
ChangeSet.RunStatus getRunStatus(ChangeSet changeSet)
throws DatabaseException,
DatabaseHistoryException
- Throws:
DatabaseException
DatabaseHistoryException
getRanDate
Date getRanDate(ChangeSet changeSet)
throws DatabaseException,
DatabaseHistoryException
- Returns the date the given changeSet was ran. Returns null if changeSet was not null.
- Throws:
DatabaseException
DatabaseHistoryException
setExecType
void setExecType(ChangeSet changeSet,
ChangeSet.ExecType execType)
throws DatabaseException
- Throws:
DatabaseException
removeFromHistory
void removeFromHistory(ChangeSet changeSet)
throws DatabaseException
- Throws:
DatabaseException
getNextSequenceValue
int getNextSequenceValue()
throws LiquibaseException
- Throws:
LiquibaseException
tag
void tag(String tagString)
throws DatabaseException
- Throws:
DatabaseException
tagExists
boolean tagExists(String tag)
throws DatabaseException
- Throws:
DatabaseException
clearAllCheckSums
void clearAllCheckSums()
throws LiquibaseException
- Throws:
LiquibaseException
destroy
void destroy()
throws DatabaseException
- Throws:
DatabaseException
getDeploymentId
String getDeploymentId()
resetDeploymentId
void resetDeploymentId()
generateDeploymentId
void generateDeploymentId()
Copyright © 2016 Liquibase.org. All rights reserved.