All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
void |
addChange(Change change) |
void |
addRollbackChange(Change change) |
void |
addRollBackSQL(String sql) |
void |
addSqlVisitor(SqlVisitor sqlVisitor) |
void |
addValidCheckSum(String text) |
String |
buildFullContext()
Build and return a string which contains both the changeset and inherited context
|
String |
buildFullLabels()
Build and return a string which contains both the changeset and inherited labels
|
void |
clearCheckSum() |
boolean |
equals(Object obj) |
ChangeSet.ExecType |
execute(DatabaseChangeLog databaseChangeLog,
ChangeExecListener listener,
Database database)
This method will actually execute each of the changes in the list against the
specified database.
|
ChangeSet.ExecType |
execute(DatabaseChangeLog databaseChangeLog,
Database database) |
CheckSum |
generateCheckSum() |
Object |
getAttribute(String attribute) |
String |
getAuthor() |
DatabaseChangeLog |
getChangeLog() |
ChangeLogParameters |
getChangeLogParameters() |
List<Change> |
getChanges()
Returns an unmodifiable list of changes.
|
String |
getComments() |
ContextExpression |
getContextFilter() |
ContextExpression |
getContexts()
|
String |
getCreated() |
Set<String> |
getDbmsSet() |
String |
getDeploymentId() |
String |
getDescription() |
Boolean |
getFailOnError() |
String |
getFilePath() |
String |
getId() |
Collection<ContextExpression> |
getInheritableContextFilter() |
Collection<Labels> |
getInheritableLabels() |
Labels |
getLabels() |
String |
getLogicalFilePath()
The logical file path defined directly on this node.
|
ObjectQuotingStrategy |
getObjectQuotingStrategy() |
ChangeSet.ValidationFailOption |
getOnValidationFail() |
PreconditionContainer |
getPreconditions() |
RollbackContainer |
getRollback() |
String |
getRunOrder() |
String |
getRunWith() |
String |
getSerializableFieldNamespace(String field) |
Set<String> |
getSerializableFields() |
LiquibaseSerializable.SerializationType |
getSerializableFieldType(String field) |
Object |
getSerializableFieldValue(String field) |
String |
getSerializedObjectName() |
String |
getSerializedObjectNamespace() |
List<SqlVisitor> |
getSqlVisitors() |
CheckSum |
getStoredCheckSum()
Gets storedCheckSum
|
String |
getStoredFilePath() |
Set<CheckSum> |
getValidCheckSums() |
protected void |
handleChildNode(ParsedNode child,
ResourceAccessor resourceAccessor) |
protected void |
handleRollbackNode(ParsedNode rollbackNode,
ResourceAccessor resourceAccessor) |
boolean |
hasCustomRollbackChanges()
Returns whether custom rollback steps are specified for this changeSet, or whether auto-generated ones should be used
|
int |
hashCode() |
boolean |
isAlwaysRun() |
boolean |
isCheckSumValid(CheckSum storedCheckSum) |
boolean |
isIgnore() |
boolean |
isInheritableIgnore() |
boolean |
isRunInTransaction() |
boolean |
isRunOnChange() |
void |
load(ParsedNode node,
ResourceAccessor resourceAccessor) |
static String |
lookupExecutor(String executorName)
Look for a configuration property that matches liquibase..executor
and if found, return its value as the executor name
|
void |
rollback(Database database) |
void |
rollback(Database database,
ChangeExecListener listener) |
ParsedNode |
serialize() |
ChangeSet |
setAttribute(String attribute,
Object value) |
void |
setChangeLogParameters(ChangeLogParameters changeLogParameters)
|
void |
setComments(String comments) |
ChangeSet |
setContextFilter(ContextExpression contextFilter) |
ChangeSet |
setContexts(ContextExpression contexts)
|
void |
setCreated(String created) |
protected void |
setDbms(String dbmsList) |
void |
setDeploymentId(String deploymentId) |
void |
setFailOnError(Boolean failOnError) |
void |
setFilePath(String filePath)
Called to update file path from database entry when rolling back and ignoreClasspathPrefix is true.
|
void |
setIgnore(boolean ignore) |
void |
setLabels(Labels labels) |
void |
setLogicalFilePath(String logicalFilePath) |
void |
setOnValidationFail(ChangeSet.ValidationFailOption onValidationFail) |
void |
setPreconditions(PreconditionContainer preconditionContainer) |
void |
setRunOrder(String runOrder) |
void |
setRunWith(String runWith) |
void |
setStoredCheckSum(CheckSum storedCheckSum)
Sets storedCheckSum in ValidatingVisitor in case when changeset was executed
|
void |
setStoredFilePath(String storedFilePath) |
void |
setValidationFailed(boolean validationFailed) |
boolean |
shouldAlwaysRun() |
boolean |
shouldRunOnChange() |
boolean |
supportsRollback(Database database) |
protected Change |
toChange(ParsedNode value,
ResourceAccessor resourceAccessor) |
String |
toString() |
String |
toString(boolean includeMD5Sum) |