Modifier and Type | Method and Description |
---|---|
CheckSum |
Liquibase.calculateCheckSum(String changeSetIdentifier) |
CheckSum |
Liquibase.calculateCheckSum(String filename,
String id,
String author) |
void |
Liquibase.changeLogSync(Contexts contexts) |
void |
Liquibase.changeLogSync(Contexts contexts,
Writer output) |
void |
Liquibase.changeLogSync(String contexts) |
void |
Liquibase.changeLogSync(String contexts,
Writer output) |
void |
Liquibase.checkLiquibaseTables(boolean updateExistingNullChecksums,
DatabaseChangeLog databaseChangeLog,
Contexts contexts) |
void |
Liquibase.clearCheckSums()
Sets checksums to null so they will be repopulated next run
|
DiffResult |
Liquibase.diff(Database referenceDatabase,
Database targetDatabase,
CompareControl compareControl) |
void |
Liquibase.forceReleaseLocks() |
void |
Liquibase.futureRollbackSQL(Integer count,
Contexts contexts,
Writer output) |
void |
Liquibase.futureRollbackSQL(Integer count,
String contexts,
Writer output) |
void |
Liquibase.futureRollbackSQL(String contexts,
Writer output) |
void |
Liquibase.generateDocumentation(String outputDirectory) |
void |
Liquibase.generateDocumentation(String outputDirectory,
Contexts contexts) |
void |
Liquibase.generateDocumentation(String outputDirectory,
String contexts) |
DatabaseChangeLog |
Liquibase.getDatabaseChangeLog() |
DatabaseChangeLogLock[] |
Liquibase.listLocks()
Display change log lock information.
|
Collection<RanChangeSet> |
Liquibase.listUnexpectedChangeSets(Contexts contexts) |
Collection<RanChangeSet> |
Liquibase.listUnexpectedChangeSets(String contexts) |
List<ChangeSet> |
Liquibase.listUnrunChangeSets(Contexts contexts) |
List<ChangeSet> |
Liquibase.listUnrunChangeSets(String contexts) |
void |
Liquibase.markNextChangeSetRan(Contexts contexts) |
void |
Liquibase.markNextChangeSetRan(Contexts contexts,
Writer output) |
void |
Liquibase.markNextChangeSetRan(String contexts) |
void |
Liquibase.markNextChangeSetRan(String contexts,
Writer output) |
void |
Liquibase.reportLocks(PrintStream out) |
void |
Liquibase.reportStatus(boolean verbose,
Contexts contexts,
Writer out) |
void |
Liquibase.reportStatus(boolean verbose,
String contexts,
Writer out) |
void |
Liquibase.reportUnexpectedChangeSets(boolean verbose,
Contexts contexts,
Writer out) |
void |
Liquibase.reportUnexpectedChangeSets(boolean verbose,
String contexts,
Writer out) |
void |
Liquibase.rollback(Date dateToRollBackTo,
Contexts contexts) |
void |
Liquibase.rollback(Date dateToRollBackTo,
Contexts contexts,
Writer output) |
void |
Liquibase.rollback(Date dateToRollBackTo,
String contexts) |
void |
Liquibase.rollback(Date dateToRollBackTo,
String contexts,
Writer output) |
void |
Liquibase.rollback(int changesToRollback,
Contexts contexts) |
void |
Liquibase.rollback(int changesToRollback,
Contexts contexts,
Writer output) |
void |
Liquibase.rollback(int changesToRollback,
String contexts) |
void |
Liquibase.rollback(int changesToRollback,
String contexts,
Writer output) |
void |
Liquibase.rollback(String tagToRollBackTo,
Contexts contexts) |
void |
Liquibase.rollback(String tagToRollBackTo,
Contexts contexts,
Writer output) |
void |
Liquibase.rollback(String tagToRollBackTo,
String contexts) |
void |
Liquibase.rollback(String tagToRollBackTo,
String contexts,
Writer output) |
void |
Liquibase.tag(String tagString)
'Tags' the database for future rollback
|
void |
Liquibase.update(Contexts contexts)
Executes Liquibase "update" logic which ensures that the configured
Database is up to dat according to the configured changelog file. |
void |
Liquibase.update(Contexts contexts,
Writer output) |
void |
Liquibase.update(int changesToApply,
Contexts contexts) |
void |
Liquibase.update(int changesToApply,
Contexts contexts,
Writer output) |
void |
Liquibase.update(int changesToApply,
String contexts) |
void |
Liquibase.update(int changesToApply,
String contexts,
Writer output) |
void |
Liquibase.update(String contexts)
Convience method for
Liquibase.update(Contexts) that constructs the Context object from the passed string. |
void |
Liquibase.update(String contexts,
Writer output) |
void |
Liquibase.updateTestingRollback(Contexts contexts) |
void |
Liquibase.updateTestingRollback(String contexts) |
void |
Liquibase.validate()
Checks changelogs for bad MD5Sums and preconditions before attempting a migration
|
Constructor and Description |
---|
Liquibase(String changeLogFile,
ResourceAccessor resourceAccessor,
Database database)
Creates a Liquibase instance.
|
Liquibase(String changeLogFile,
ResourceAccessor resourceAccessor,
DatabaseConnection conn)
Creates a Liquibase instance for a given DatabaseConnection.
|
Modifier and Type | Method and Description |
---|---|
void |
LoadUpdateDataChange.setPrimaryKey(String primaryKey) |
Modifier and Type | Method and Description |
---|---|
void |
StandardChangeLogHistoryService.clearAllCheckSums() |
void |
ChangeLogHistoryService.clearAllCheckSums() |
void |
OfflineChangeLogHistoryService.clearAllCheckSums() |
int |
StandardChangeLogHistoryService.getNextSequenceValue() |
int |
ChangeLogHistoryService.getNextSequenceValue() |
int |
OfflineChangeLogHistoryService.getNextSequenceValue() |
void |
ChangeLogIterator.run(ChangeSetVisitor visitor,
Database database) |
void |
DatabaseChangeLog.validate(Database database,
Contexts contexts) |
void |
DatabaseChangeLog.validate(Database database,
String... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
ChangeSetVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database) |
void |
ChangeLogSyncVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database) |
void |
ValidatingVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database) |
void |
ExpectedChangesVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database) |
void |
ListVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database) |
void |
DBDocVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database) |
void |
RollbackVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database) |
void |
UpdateVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database) |
void |
DBDocVisitor.writeHTML(File rootOutputDir,
ResourceAccessor resourceAccessor) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractJdbcDatabase.dropDatabaseObjects(CatalogAndSchema schemaToDrop)
Drops all objects owned by the connected user.
|
void |
Database.dropDatabaseObjects(CatalogAndSchema schema) |
void |
AbstractJdbcDatabase.execute(SqlStatement[] statements,
List<SqlVisitor> sqlVisitors) |
void |
Database.execute(SqlStatement[] statements,
List<SqlVisitor> sqlVisitors) |
void |
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) |
Modifier and Type | Method and Description |
---|---|
DiffResult |
DiffGeneratorFactory.compare(Database referenceDatabase,
Database comparisonDatabase,
CompareControl compareControl) |
Modifier and Type | Class and Description |
---|---|
class |
ChangeLogParseException |
class |
ChangeNotFoundException |
class |
DatabaseException |
class |
DatabaseHistoryException |
class |
DuplicateChangeSetException |
class |
DuplicateStatementIdentifierException |
class |
InvalidChangeDefinitionException |
class |
LockException |
class |
MigrationFailedException |
class |
RollbackFailedException |
class |
RollbackImpossibleException
Thrown if a change is encountered that cannot be rolled back.
|
class |
SetupException
If there is an error with setting up a Change this Exception
will be thrown.
|
class |
StatementNotSupportedOnDatabaseException |
class |
UnknownChangelogFormatException |
class |
ValidationFailedException |
Modifier and Type | Method and Description |
---|---|
protected Liquibase |
CDILiquibase.createLiquibase(Connection c) |
Modifier and Type | Method and Description |
---|---|
static void |
CommandLineUtils.doDiff(Database referenceDatabase,
Database targetDatabase,
String snapshotTypes) |
static void |
CommandLineUtils.doDiffToChangeLog(String changeLogFile,
Database referenceDatabase,
Database targetDatabase,
DiffOutputControl diffOutputControl,
String snapshotTypes) |
Modifier and Type | Method and Description |
---|---|
void |
SpringLiquibase.afterPropertiesSet()
Executed automatically when the bean is initialized.
|
protected Liquibase |
SpringLiquibase.createLiquibase(Connection c) |
protected void |
SpringLiquibase.performUpdate(Liquibase liquibase) |
Modifier and Type | Method and Description |
---|---|
ChangeLogParser |
ChangeLogParserFactory.getParser(String fileNameOrExtension,
ResourceAccessor resourceAccessor) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
YamlChangeLogParser.handleIncludedChangeLog(String fileName,
boolean isRelativePath,
String relativeBaseFileName,
DatabaseChangeLog databaseChangeLog,
ChangeLogParameters changeLogParameters,
ResourceAccessor resourceAccessor) |
Modifier and Type | Class and Description |
---|---|
class |
InvalidExampleException
Thrown if a descriptive example is not specific enough to perform a snapshot.
|
Modifier and Type | Method and Description |
---|---|
protected String |
InsertOrUpdateGeneratorMSSQL.getUpdateStatement(InsertOrUpdateStatement insertOrUpdateStatement,
Database database,
String whereClause,
SqlGeneratorChain sqlGeneratorChain) |
protected String |
InsertOrUpdateGenerator.getUpdateStatement(InsertOrUpdateStatement insertOrUpdateStatement,
Database database,
String whereClause,
SqlGeneratorChain sqlGeneratorChain) |
Copyright © 2014 Liquibase.org. All rights reserved.