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 executeDmlAgainstDatabase,
boolean executeDdlAgainstDatabase)
getPriority
public int getPriority()
supports
public boolean supports(Database database)
isExecuteDmlAgainstDatabase
public boolean isExecuteDmlAgainstDatabase()
setExecuteDmlAgainstDatabase
public void setExecuteDmlAgainstDatabase(boolean executeDmlAgainstDatabase)
isExecuteDdlAgainstDatabase
public boolean isExecuteDdlAgainstDatabase()
setExecuteDdlAgainstDatabase
public void setExecuteDdlAgainstDatabase(boolean executeDdlAgainstDatabase)
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 © 2015 Liquibase.org. All rights reserved.