liquibase.changelog
Class OfflineChangeLogHistoryService
java.lang.Object
liquibase.changelog.AbstractChangeLogHistoryService
liquibase.changelog.OfflineChangeLogHistoryService
- All Implemented Interfaces:
- ChangeLogHistoryService, PrioritizedService
public class OfflineChangeLogHistoryService
- extends AbstractChangeLogHistoryService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OfflineChangeLogHistoryService
public OfflineChangeLogHistoryService(Database database,
File changeLogFile,
boolean executeAgainstDatabase)
getPriority
public int getPriority()
supports
public boolean supports(Database database)
isExecuteAgainstDatabase
public boolean isExecuteAgainstDatabase()
setExecuteAgainstDatabase
public void setExecuteAgainstDatabase(boolean executeAgainstDatabase)
reset
public void reset()
- Specified by:
reset
in interface ChangeLogHistoryService
- Overrides:
reset
in class AbstractChangeLogHistoryService
init
public void init()
throws DatabaseException
- Description copied from interface:
ChangeLogHistoryService
- 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
writeHeader
protected void writeHeader(File file)
throws IOException
- Throws:
IOException
replaceChecksum
protected void replaceChecksum(ChangeSet changeSet)
throws DatabaseException
- Specified by:
replaceChecksum
in class AbstractChangeLogHistoryService
- Throws:
DatabaseException
getRanChangeSets
public List<RanChangeSet> getRanChangeSets()
throws DatabaseException
- Throws:
DatabaseException
replaceChangeSet
protected void replaceChangeSet(ChangeSet changeSet,
liquibase.changelog.OfflineChangeLogHistoryService.ReplaceChangeSetLogic replaceLogic)
throws DatabaseException
- Throws:
DatabaseException
appendChangeSet
protected void appendChangeSet(ChangeSet changeSet,
ChangeSet.ExecType execType)
throws DatabaseException
- Throws:
DatabaseException
setExecType
public void setExecType(ChangeSet changeSet,
ChangeSet.ExecType execType)
throws DatabaseException
- Throws:
DatabaseException
removeFromHistory
public void removeFromHistory(ChangeSet changeSet)
throws DatabaseException
- Throws:
DatabaseException
getNextSequenceValue
public int getNextSequenceValue()
throws LiquibaseException
- Throws:
LiquibaseException
tag
public void tag(String tagString)
throws DatabaseException
- Throws:
DatabaseException
tagExists
public boolean tagExists(String tag)
throws DatabaseException
- Throws:
DatabaseException
clearAllCheckSums
public void clearAllCheckSums()
throws LiquibaseException
- Throws:
LiquibaseException
destroy
public void destroy()
throws DatabaseException
- Throws:
DatabaseException
Copyright © 2014 Liquibase.org. All rights reserved.