liquibase.changelog
Interface ChangeLogHistoryService

All Superinterfaces:
PrioritizedService
All Known Implementing Classes:
AbstractChangeLogHistoryService, OfflineChangeLogHistoryService, StandardChangeLogHistoryService

public interface ChangeLogHistoryService
extends PrioritizedService


Field Summary
 
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
 
Method Summary
 void clearAllCheckSums()
           
 void destroy()
           
 void generateDeploymentId()
           
 String getDeploymentId()
           
 int getNextSequenceValue()
           
 RanChangeSet getRanChangeSet(ChangeSet changeSet)
           
 List<RanChangeSet> getRanChangeSets()
           
 Date getRanDate(ChangeSet changeSet)
          Returns the date the given changeSet was ran.
 ChangeSet.RunStatus getRunStatus(ChangeSet changeSet)
           
 void init()
          Ensures the change log history container is correctly initialized for use.
 void removeFromHistory(ChangeSet changeSet)
           
 void reset()
           
 void resetDeploymentId()
           
 void setDatabase(Database database)
           
 void setExecType(ChangeSet changeSet, ChangeSet.ExecType execType)
           
 boolean supports(Database database)
           
 void tag(String tagString)
           
 boolean tagExists(String tag)
           
 void upgradeChecksums(DatabaseChangeLog databaseChangeLog, Contexts contexts, LabelExpression labels)
          Upgrades any existing checksums with an out of date version
 
Methods inherited from interface liquibase.servicelocator.PrioritizedService
getPriority
 

Method Detail

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.