public class OfflineChangeLogHistoryService extends AbstractChangeLogHistoryService
PRIORITY_DATABASE, PRIORITY_DEFAULT
Constructor and Description |
---|
OfflineChangeLogHistoryService(Database database,
java.io.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() |
java.util.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(java.lang.String tagString) |
boolean |
tagExists(java.lang.String tag) |
protected void |
writeHeader(java.io.File file) |
getDatabase, getRanChangeSet, getRanDate, getRunStatus, setDatabase, upgradeChecksums
public OfflineChangeLogHistoryService(Database database, java.io.File changeLogFile, boolean executeAgainstDatabase)
public int getPriority()
public boolean supports(Database database)
public boolean isExecuteAgainstDatabase()
public void setExecuteAgainstDatabase(boolean executeAgainstDatabase)
public void reset()
reset
in interface ChangeLogHistoryService
reset
in class AbstractChangeLogHistoryService
public void init() throws DatabaseException
ChangeLogHistoryService
DatabaseException
protected void writeHeader(java.io.File file) throws java.io.IOException
java.io.IOException
protected void replaceChecksum(ChangeSet changeSet) throws DatabaseException
replaceChecksum
in class AbstractChangeLogHistoryService
DatabaseException
public java.util.List<RanChangeSet> getRanChangeSets() throws DatabaseException
DatabaseException
protected void replaceChangeSet(ChangeSet changeSet, liquibase.changelog.OfflineChangeLogHistoryService.ReplaceChangeSetLogic replaceLogic) throws DatabaseException
DatabaseException
protected void appendChangeSet(ChangeSet changeSet, ChangeSet.ExecType execType) throws DatabaseException
DatabaseException
public void setExecType(ChangeSet changeSet, ChangeSet.ExecType execType) throws DatabaseException
DatabaseException
public void removeFromHistory(ChangeSet changeSet) throws DatabaseException
DatabaseException
public int getNextSequenceValue() throws LiquibaseException
LiquibaseException
public void tag(java.lang.String tagString) throws DatabaseException
DatabaseException
public boolean tagExists(java.lang.String tag) throws DatabaseException
DatabaseException
public void clearAllCheckSums() throws LiquibaseException
LiquibaseException
public void destroy() throws DatabaseException
DatabaseException