Package liquibase.changelog
Class ChangeSetStatus
java.lang.Object
liquibase.changelog.ChangeSetStatus
Contains the current status of a ChangeSet. Normally returned by 
StatusVisitor.
 Contains information on whether the changeSet has run before and will run next time.- 
Constructor SummaryConstructorsConstructorDescriptionChangeSetStatus(ChangeSet changeSet) ChangeSetStatus(ChangeSet changeSet, boolean skipChangeSetStatusGeneration) 
- 
Method SummaryModifier and TypeMethodDescriptionChangeSet commentsReturn the date the changeset was last executed.ChangeSet descriptionReasons the changeset will or will not run next time.booleanReturns true if the changeset was run previously.Return the checksum stored from the last execution of the changeset.booleanWill the changeset run next time.booleanisFilteredBy(Class<? extends ChangeSetFilter> filterType) Convenience method to check wither a given ChangeSetFilter type is a reason for running the changeset or not.voidsetComments(String comments) voidsetDateLastExecuted(Date dateLastExecuted) voidsetDescription(String description) voidsetFilterResults(Set<ChangeSetFilterResult> filterResults) voidsetPreviouslyRan(boolean previouslyRan) voidsetRanChangeSet(RanChangeSet ranChangeSet) voidsetStoredCheckSum(CheckSum storedCheckSum) voidsetWillRun(boolean willRun) 
- 
Constructor Details- 
ChangeSetStatus
- 
ChangeSetStatuspublic ChangeSetStatus(ChangeSet changeSet, boolean skipChangeSetStatusGeneration) throws LiquibaseException - Throws:
- LiquibaseException
 
 
- 
- 
Method Details- 
getChangeSet
- 
getCurrentCheckSum
- 
getDescriptionChangeSet description
- 
setDescription
- 
getCommentsChangeSet comments
- 
setComments
- 
getWillRunpublic boolean getWillRun()Will the changeset run next time.
- 
setWillRunpublic void setWillRun(boolean willRun) 
- 
getFilterResultsReasons the changeset will or will not run next time. Returns empty set if no reasons were given
- 
setFilterResults
- 
isFilteredByConvenience method to check wither a given ChangeSetFilter type is a reason for running the changeset or not.
- 
getStoredCheckSumReturn the checksum stored from the last execution of the changeset. Returns null if it has not run before
- 
setStoredCheckSum
- 
getDateLastExecutedReturn the date the changeset was last executed. Returns null if it has not run before
- 
setDateLastExecuted
- 
getPreviouslyRanpublic boolean getPreviouslyRan()Returns true if the changeset was run previously.
- 
setPreviouslyRanpublic void setPreviouslyRan(boolean previouslyRan) 
- 
getRanChangeSet
- 
setRanChangeSet
 
-