Top Description Fields Constructors Methods
liquibase.changelog

public Class ChangeSetStatus

extends Object
Class Inheritance
Imports
liquibase.ChecksumVersion, liquibase.change.CheckSum, liquibase.changelog.filter.ChangeSetFilter, .ChangeSetFilterResult, liquibase.integration.commandline.LiquibaseCommandLineConfiguration, java.util.Date, .Set

Contains the current status of a ChangeSet. Normally returned by liquibase.changelog.visitor.StatusVisitor. Contains information on whether the changeSet has ran before and will run next time.

Field Summary

Modifier and TypeField and Description
private final ChangeSet
private String
private final CheckSum
private Date
private String
private Set<ChangeSetFilterResult>
private boolean
private RanChangeSet
private CheckSum
private boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ChangeSet
public String
getComments()

ChangeSet comments

public CheckSum
public Date
getDateLastExecuted()

Return the date the changeset was last executed.

public String
getDescription()

ChangeSet description

public Set<ChangeSetFilterResult>
getFilterResults()

Reasons the changeset will or will not run next time.

public boolean
getPreviouslyRan()

Returns true if the changeset was ran previously.

public RanChangeSet
public CheckSum
getStoredCheckSum()

Return the checksum stored from the last execution of the changeset.

public boolean
getWillRun()

Will the changeset run next time.

public boolean
isFilteredBy(Class<? extends ChangeSetFilter> filterType)

Convenience method to check wither a given ChangeSetFilter type is a reason for running the changeset or not.

public void
setComments(String comments)

public void
setDateLastExecuted(Date dateLastExecuted)

public void
setDescription(String description)

public void
public void
setPreviouslyRan(boolean previouslyRan)

public void
public void
setStoredCheckSum(CheckSum storedCheckSum)

public void
setWillRun(boolean willRun)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

changeSetback to summary
private final ChangeSet changeSet
commentsback to summary
private String comments
currentCheckSumback to summary
private final CheckSum currentCheckSum
dateLastExecutedback to summary
private Date dateLastExecuted
descriptionback to summary
private String description
filterResultsback to summary
private Set<ChangeSetFilterResult> filterResults
previouslyRanback to summary
private boolean previouslyRan
ranChangeSetback to summary
private RanChangeSet ranChangeSet
storedCheckSumback to summary
private CheckSum storedCheckSum
willRunback to summary
private boolean willRun

Constructor Detail

ChangeSetStatusback to summary
public ChangeSetStatus(ChangeSet changeSet)

Method Detail

getChangeSetback to summary
public ChangeSet getChangeSet()
getCommentsback to summary
public String getComments()

ChangeSet comments

getCurrentCheckSumback to summary
public CheckSum getCurrentCheckSum()
getDateLastExecutedback to summary
public Date getDateLastExecuted()

Return the date the changeset was last executed. Returns null if it has not ran before

getDescriptionback to summary
public String getDescription()

ChangeSet description

getFilterResultsback to summary
public Set<ChangeSetFilterResult> getFilterResults()

Reasons the changeset will or will not run next time. Returns empty set if no reasons were given

getPreviouslyRanback to summary
public boolean getPreviouslyRan()

Returns true if the changeset was ran previously.

getRanChangeSetback to summary
public RanChangeSet getRanChangeSet()
getStoredCheckSumback to summary
public CheckSum getStoredCheckSum()

Return the checksum stored from the last execution of the changeset. Returns null if it has not ran before

getWillRunback to summary
public boolean getWillRun()

Will the changeset run next time.

isFilteredByback to summary
public boolean isFilteredBy(Class<? extends ChangeSetFilter> filterType)

Convenience method to check wither a given ChangeSetFilter type is a reason for running the changeset or not.

setCommentsback to summary
public void setComments(String comments)
setDateLastExecutedback to summary
public void setDateLastExecuted(Date dateLastExecuted)
setDescriptionback to summary
public void setDescription(String description)
setFilterResultsback to summary
public void setFilterResults(Set<ChangeSetFilterResult> filterResults)
setPreviouslyRanback to summary
public void setPreviouslyRan(boolean previouslyRan)
setRanChangeSetback to summary
public void setRanChangeSet(RanChangeSet ranChangeSet)
setStoredCheckSumback to summary
public void setStoredCheckSum(CheckSum storedCheckSum)
setWillRunback to summary
public void setWillRun(boolean willRun)