Package liquibase.changelog
Class RanChangeSet
- java.lang.Object
-
- liquibase.changelog.RanChangeSet
-
public class RanChangeSet extends Object
Encapsulates information about a previously-ran changeset. Used to build rollback statements.
-
-
Constructor Summary
Constructors Constructor Description RanChangeSet(String changeLog, String id, String author, CheckSum lastCheckSum, Date dateExecuted, String tag, ChangeSet.ExecType execType, String description, String comments, ContextExpression contextExpression, Labels labels, String deploymentId)RanChangeSet(String changeLog, String id, String author, CheckSum lastCheckSum, Date dateExecuted, String tag, ChangeSet.ExecType execType, String description, String comments, ContextExpression contextExpression, Labels labels, String deploymentId, String storedChangeLog)RanChangeSet(ChangeSet changeSet)RanChangeSet(ChangeSet changeSet, ChangeSet.ExecType execType, ContextExpression contexts, Labels labels)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetAuthor()StringgetChangeLog()StringgetComments()ContextExpressiongetContextExpression()DategetDateExecuted()StringgetDeploymentId()StringgetDescription()ChangeSet.ExecTypegetExecType()StringgetId()LabelsgetLabels()CheckSumgetLastCheckSum()StringgetLiquibaseVersion()IntegergetOrderExecuted()StringgetStoredChangeLog()Get the path stored in the DatabaseChangeLog tableStringgetTag()inthashCode()booleanisSameAs(ChangeSet changeSet)voidsetComments(String comments)voidsetDeploymentId(String deploymentId)voidsetDescription(String description)voidsetLiquibaseVersion(String liquibaseVersion)voidsetOrderExecuted(Integer orderExecuted)voidsetTag(String tag)StringtoString()
-
-
-
Constructor Detail
-
RanChangeSet
public RanChangeSet(ChangeSet changeSet)
-
RanChangeSet
public RanChangeSet(ChangeSet changeSet, ChangeSet.ExecType execType, ContextExpression contexts, Labels labels)
-
RanChangeSet
public RanChangeSet(String changeLog, String id, String author, CheckSum lastCheckSum, Date dateExecuted, String tag, ChangeSet.ExecType execType, String description, String comments, ContextExpression contextExpression, Labels labels, String deploymentId)
-
-
Method Detail
-
getChangeLog
public String getChangeLog()
-
getStoredChangeLog
public String getStoredChangeLog()
Get the path stored in the DatabaseChangeLog table
-
getId
public String getId()
-
getAuthor
public String getAuthor()
-
getLastCheckSum
public CheckSum getLastCheckSum()
-
getDateExecuted
public Date getDateExecuted()
-
getTag
public String getTag()
-
setTag
public void setTag(String tag)
-
getExecType
public ChangeSet.ExecType getExecType()
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getComments
public String getComments()
-
setComments
public void setComments(String comments)
-
getContextExpression
public ContextExpression getContextExpression()
-
getLabels
public Labels getLabels()
-
getOrderExecuted
public Integer getOrderExecuted()
-
setOrderExecuted
public void setOrderExecuted(Integer orderExecuted)
-
getDeploymentId
public String getDeploymentId()
-
setDeploymentId
public void setDeploymentId(String deploymentId)
-
getLiquibaseVersion
public String getLiquibaseVersion()
-
setLiquibaseVersion
public void setLiquibaseVersion(String liquibaseVersion)
-
isSameAs
public boolean isSameAs(ChangeSet changeSet)
-
-