public class OfflineChangeLogHistoryService extends AbstractChangeLogHistoryService
PRIORITY_DATABASE, PRIORITY_DEFAULT| Constructor and Description |
|---|
OfflineChangeLogHistoryService(Database database,
File changeLogFile,
boolean executeAgainstDatabase) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendChangeSet(ChangeSet changeSet,
ChangeSet.ExecType execType) |
void |
clearAllCheckSums() |
void |
destroy() |
int |
getNextSequenceValue() |
int |
getPriority() |
List<RanChangeSet> |
getRanChangeSets() |
void |
init()
Ensures the change log history container is correctly initialized for use.
|
boolean |
isExecuteAgainstDatabase() |
void |
removeFromHistory(ChangeSet changeSet) |
protected void |
replaceChangeSet(ChangeSet changeSet,
liquibase.changelog.OfflineChangeLogHistoryService.ReplaceChangeSetLogic replaceLogic) |
protected void |
replaceChecksum(ChangeSet changeSet) |
void |
reset() |
void |
setExecType(ChangeSet changeSet,
ChangeSet.ExecType execType) |
void |
setExecuteAgainstDatabase(boolean executeAgainstDatabase) |
boolean |
supports(Database database) |
void |
tag(String tagString) |
boolean |
tagExists(String tag) |
protected void |
writeHeader(File file) |
getDatabase, getRanChangeSet, getRanDate, getRunStatus, setDatabase, upgradeChecksumspublic int getPriority()
public boolean supports(Database database)
public boolean isExecuteAgainstDatabase()
public void setExecuteAgainstDatabase(boolean executeAgainstDatabase)
public void reset()
reset in interface ChangeLogHistoryServicereset in class AbstractChangeLogHistoryServicepublic void init()
throws DatabaseException
ChangeLogHistoryServiceDatabaseExceptionprotected void writeHeader(File file) throws IOException
IOExceptionprotected void replaceChecksum(ChangeSet changeSet) throws DatabaseException
replaceChecksum in class AbstractChangeLogHistoryServiceDatabaseExceptionpublic List<RanChangeSet> getRanChangeSets() throws DatabaseException
DatabaseExceptionprotected void replaceChangeSet(ChangeSet changeSet, liquibase.changelog.OfflineChangeLogHistoryService.ReplaceChangeSetLogic replaceLogic) throws DatabaseException
DatabaseExceptionprotected void appendChangeSet(ChangeSet changeSet, ChangeSet.ExecType execType) throws DatabaseException
DatabaseExceptionpublic void setExecType(ChangeSet changeSet, ChangeSet.ExecType execType) throws DatabaseException
DatabaseExceptionpublic void removeFromHistory(ChangeSet changeSet) throws DatabaseException
DatabaseExceptionpublic int getNextSequenceValue()
throws LiquibaseException
LiquibaseExceptionpublic void tag(String tagString) throws DatabaseException
DatabaseExceptionpublic boolean tagExists(String tag) throws DatabaseException
DatabaseExceptionpublic void clearAllCheckSums()
throws LiquibaseException
LiquibaseExceptionpublic void destroy()
throws DatabaseException
DatabaseExceptionCopyright © 2014 Liquibase.org. All rights reserved.