Uses of Interface
liquibase.change.Change
Package
Description
The change package contains the available database "changes".
Technically, a Change expresses an intention for alter the structure of the Database.
Although Liquibase tries to provide a wide range of database refactorings, there are times you may want to create
your own custom refactoring class.
-
Uses of Change in liquibase.change
Modifier and TypeClassDescriptionclass
Standard superclass to simplifyChange
implementations.class
A common parent for all raw SQL related changes regardless of where the sql was sourced from.class
Modifier and TypeFieldDescriptionstatic final Change[]
Change.EMPTY_CHANGE
Represent an empty array ofChange
Modifier and TypeMethodDescriptionCreate a new Change implementation for the given change name.protected Change[]
AbstractChange.createInverses()
Create inverse changes that can roll back this change.Modifier and TypeMethodDescriptionChangeFactory.getChangeMetaData
(Change change) ChangeParameterMetaData.getCurrentValue
(Change change) Returns the current value of this parameter for the given Change.ChangeFactory.getParameters
(Change change) protected int
ChangeFactory.getPriority
(Change obj, Object... args) ChangeMetaData.getSetParameters
(Change change) Return the parameters of the given change that are set to a non-null value.void
Sets the value of this parameter on the given change.ModifierConstructorDescriptionChangeParameterMetaData
(Change change, String parameterName, String displayName, String description, Map<String, Object> exampleValues, String since, Type dataType, String[] requiredForDatabase, String[] supportedDatabases, String mustEqualExisting, LiquibaseSerializable.SerializationType serializationType) ChangeParameterMetaData
(Change change, String parameterName, String displayName, String description, Map<String, Object> exampleValues, String since, Type dataType, String[] requiredForDatabase, String[] supportedDatabases, String mustEqualExisting, LiquibaseSerializable.SerializationType serializationType, String[] alternateParameterNames) -
Uses of Change in liquibase.change.core
Modifier and TypeClassDescriptionclass
Encapsulates common fields for update and delete changes.class
Makes an existing column into an auto-increment column.class
Adds a column to an existing table.class
Sets a new default value to an existing column.class
Adds a foreign key constraint to an existing column.class
Extracts data from an existing column to create a lookup table.class
Adds a NOT NULL constraint to an existing column.class
Creates a primary key out of an existing column or set of columns.class
Adds a unique constraint to an existing column.class
Modifies properties of an existing sequence.class
Creates an index on an existing column.class
class
Creates a new sequence.class
Creates a new table.class
Creates a new view.class
class
class
Drops an existing column from a table.class
Removes the default value from an existing column.class
Drops an existing foreign key constraint.class
Drops an existing index.class
Drops a not-null constraint from an existing column.class
Removes an existing primary key.class
class
Drops an existing sequence.class
Drops an existing table.class
Removes an existing unique constraint.class
Drops an existing view.class
class
Executes a given shell executable.class
Inserts data into an existing table.class
class
class
Combines data from two existing columns into a new column and drops the original columns.class
class
class
Allows execution of arbitrary SQL.class
Renames an existing column.class
Renames an existing table.class
Renames an existing table.class
Renames an existing view.class
class
class
Represents a Change for custom SQL stored in a File.class
class
class
Modifier and TypeMethodDescriptionprotected Change[]
AddColumnChange.createInverses()
protected Change[]
AddDefaultValueChange.createInverses()
protected Change[]
AddForeignKeyConstraintChange.createInverses()
protected Change[]
AddLookupTableChange.createInverses()
protected Change[]
AddNotNullConstraintChange.createInverses()
protected Change[]
AddPrimaryKeyChange.createInverses()
protected Change[]
AddUniqueConstraintChange.createInverses()
protected Change[]
CreateIndexChange.createInverses()
protected Change[]
CreateSequenceChange.createInverses()
protected Change[]
CreateTableChange.createInverses()
protected Change[]
CreateViewChange.createInverses()
protected Change[]
DropNotNullConstraintChange.createInverses()
protected Change[]
EmptyChange.createInverses()
protected Change[]
OutputChange.createInverses()
protected Change[]
RenameColumnChange.createInverses()
protected Change[]
RenameSequenceChange.createInverses()
protected Change[]
RenameTableChange.createInverses()
protected Change[]
RenameViewChange.createInverses()
protected Change[]
TagDatabaseChange.createInverses()
-
Uses of Change in liquibase.change.custom
Modifier and TypeClassDescriptionclass
Adapts CustomChange implementations to the standard change system used by Liquibase. -
Uses of Change in liquibase.changelog
Modifier and TypeMethodDescriptionprotected Change
ChangeSet.toChange
(ParsedNode value, ResourceAccessor resourceAccessor) Modifier and TypeMethodDescriptionChangeSet.getChanges()
Returns an unmodifiable list of changes.RollbackContainer.getChanges()
-
Uses of Change in liquibase.changelog.visitor
Modifier and TypeMethodDescriptionDefaultChangeExecListener.getDeployedChanges
(ChangeSet changeSet) Gets list of Changes deployed during the current ChangeSet execution.Modifier and TypeMethodDescriptionvoid
AbstractChangeExecListener.ran
(Change change, ChangeSet changeSet, DatabaseChangeLog changeLog, Database database) void
ChangeExecListener.ran
(Change change, ChangeSet changeSet, DatabaseChangeLog changeLog, Database database) void
DefaultChangeExecListener.ran
(Change change, ChangeSet changeSet, DatabaseChangeLog changeLog, Database database) protected void
ValidatingVisitor.validateChange
(ChangeSet changeSet, Database database, Change change, boolean shouldValidate) void
AbstractChangeExecListener.willRun
(Change change, ChangeSet changeSet, DatabaseChangeLog changeLog, Database database) void
ChangeExecListener.willRun
(Change change, ChangeSet changeSet, DatabaseChangeLog changeLog, Database database) void
DefaultChangeExecListener.willRun
(Change change, ChangeSet changeSet, DatabaseChangeLog changeLog, Database database) -
Uses of Change in liquibase.database
Modifier and TypeMethodDescriptionvoid
AbstractJdbcDatabase.executeRollbackStatements
(Change change, List<SqlVisitor> sqlVisitors) void
Database.executeRollbackStatements
(Change change, List<SqlVisitor> sqlVisitors) void
AbstractJdbcDatabase.executeStatements
(Change change, DatabaseChangeLog changeLog, List<SqlVisitor> sqlVisitors) void
Database.executeStatements
(Change change, DatabaseChangeLog changeLog, List<SqlVisitor> sqlVisitors) void
AbstractJdbcDatabase.saveRollbackStatement
(Change change, List<SqlVisitor> sqlVisitors, Writer writer) void
Database.saveRollbackStatement
(Change change, List<SqlVisitor> sqlVisitors, Writer writer) void
AbstractJdbcDatabase.saveStatements
(Change change, List<SqlVisitor> sqlVisitors, Writer writer) void
Database.saveStatements
(Change change, List<SqlVisitor> sqlVisitors, Writer writer) -
Uses of Change in liquibase.database.core
Modifier and TypeMethodDescriptionvoid
MockDatabase.executeRollbackStatements
(Change change, List<SqlVisitor> sqlVisitors) void
MockDatabase.executeStatements
(Change change, DatabaseChangeLog changeLog, List<SqlVisitor> sqlVisitors) void
MSSQLDatabase.executeStatements
(Change change, DatabaseChangeLog changeLog, List<SqlVisitor> sqlVisitors) void
MockDatabase.saveRollbackStatement
(Change change, List<SqlVisitor> sqlVisitors, Writer writer) void
MockDatabase.saveStatements
(Change change, List<SqlVisitor> sqlVisitors, Writer writer) -
Uses of Change in liquibase.dbdoc
Modifier and TypeMethodDescriptionprotected void
HTMLWriter.writeBody
(Writer fileWriter, Object object, List<Change> ranChanges, List<Change> changesToRun) protected void
PendingChangesWriter.writeBody
(Writer fileWriter, Object object, List<Change> ranChanges, List<Change> changesToRun) protected void
PendingSQLWriter.writeBody
(Writer fileWriter, Object object, List<Change> ranChanges, List<Change> changesToRun) protected void
RecentChangesWriter.writeBody
(Writer fileWriter, Object object, List<Change> ranChanges, List<Change> changesToRun) protected void
HTMLWriter.writeChanges
(String title, Writer fileWriter, List<Change> changes) protected void
AuthorWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) protected void
ColumnWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) protected abstract void
HTMLWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) protected void
PendingChangesWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) protected void
PendingSQLWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) protected void
RecentChangesWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) protected void
TableWriter.writeCustomHTML
(Writer fileWriter, Object object, List<Change> changes, Database database) void
HTMLWriter.writeHTML
(Object object, List<Change> ranChanges, List<Change> changesToRun, String changeLog) void
TableWriter.writeHTML
(Object object, List<Change> ranChanges, List<Change> changesToRun, String changeLog, String schema) -
Uses of Change in liquibase.diff.output.changelog
Modifier and TypeFieldDescriptionstatic final Change[]
ChangeGenerator.EMPTY_CHANGE
Represent an empty array ofChange
.Modifier and TypeMethodDescriptionChange[]
ChangedObjectChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangeGeneratorChain.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisionDatabase) Change[]
ChangeGeneratorFactory.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisionDatabase) Change[]
ChangeGeneratorChain.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisionDatabase) Change[]
ChangeGeneratorFactory.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisionDatabase) Change[]
MissingObjectChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
AbstractChangeGenerator.fixOutputAsSchema
(Change[] changes, CompareControl.SchemaComparison[] schemaComparisons) Change[]
ChangeGenerator.fixOutputAsSchema
(Change[] changes, CompareControl.SchemaComparison[] schemaComparisons) Change[]
AbstractChangeGenerator.fixSchema
(Change[] changes, CompareControl.SchemaComparison[] schemaComparisons) Change[]
ChangeGenerator.fixSchema
(Change[] changes, CompareControl.SchemaComparison[] schemaComparisons) Change[]
ChangeGeneratorChain.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisionDatabase) Change[]
ChangeGeneratorFactory.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisionDatabase) Change[]
UnexpectedObjectChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Modifier and TypeMethodDescriptionChange[]
AbstractChangeGenerator.fixOutputAsSchema
(Change[] changes, CompareControl.SchemaComparison[] schemaComparisons) Change[]
ChangeGenerator.fixOutputAsSchema
(Change[] changes, CompareControl.SchemaComparison[] schemaComparisons) Change[]
AbstractChangeGenerator.fixSchema
(Change[] changes, CompareControl.SchemaComparison[] schemaComparisons) Change[]
ChangeGenerator.fixSchema
(Change[] changes, CompareControl.SchemaComparison[] schemaComparisons) protected String
DiffToChangeLog.generateId
(Change[] changes) protected boolean
DiffToChangeLog.useSeparateChangeSets
(Change[] changes) -
Uses of Change in liquibase.diff.output.changelog.core
Modifier and TypeMethodDescriptionChange[]
ChangedColumnChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedForeignKeyChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedIndexChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedPrimaryKeyChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedSequenceChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedSequenceChangeGeneratorSnowflake.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedTableChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedUniqueConstraintChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
ChangedViewChangeGenerator.fixChanged
(DatabaseObject changedObject, ObjectDifferences differences, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingColumnChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingDataChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl outputControl, Database referenceDatabase, Database comparisionDatabase, ChangeGeneratorChain chain) Change[]
MissingDataExternalFileChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl outputControl, Database referenceDatabase, Database comparisionDatabase, ChangeGeneratorChain chain) Change[]
MissingForeignKeyChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingIndexChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingPrimaryKeyChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingSequenceChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingSequenceChangeGeneratorSnowflake.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingTableChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingUniqueConstraintChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
MissingViewChangeGenerator.fixMissing
(DatabaseObject missingObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedColumnChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedForeignKeyChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedIndexChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedPrimaryKeyChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedSequenceChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedTableChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedUniqueConstraintChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Change[]
UnexpectedViewChangeGenerator.fixUnexpected
(DatabaseObject unexpectedObject, DiffOutputControl control, Database referenceDatabase, Database comparisonDatabase, ChangeGeneratorChain chain) Modifier and TypeMethodDescriptionprotected void
ChangedColumnChangeGenerator.handleAutoIncrementDifferences
(Column column, ObjectDifferences differences, DiffOutputControl control, List<Change> changes, Database referenceDatabase, Database comparisonDatabase) protected void
ChangedColumnChangeGenerator.handleDefaultValueDifferences
(Column column, ObjectDifferences differences, DiffOutputControl control, List<Change> changes, Database referenceDatabase, Database comparisonDatabase) protected void
ChangedColumnChangeGenerator.handleNullableDifferences
(Column column, ObjectDifferences differences, DiffOutputControl control, List<Change> changes, Database referenceDatabase, Database comparisonDatabase) protected void
ChangedColumnChangeGenerator.handleTypeDifferences
(Column column, ObjectDifferences differences, DiffOutputControl control, List<Change> changes, Database referenceDatabase, Database comparisonDatabase) -
Uses of Change in liquibase.exception
ModifierConstructorDescriptionInvalidChangeDefinitionException
(String message, Change change) ValidationErrors
(Change change) -
Uses of Change in liquibase.executor
-
Uses of Change in liquibase.extension.testing.testsystem
-
Uses of Change in liquibase.sqlgenerator
Modifier and TypeMethodDescriptionSql[]
SqlGeneratorFactory.generateSql
(Change change, Database database)