| Methods in liquibase that throw LiquibaseException |
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)
|
List<ChangeSetStatus> |
Liquibase.getChangeSetStatuses(Contexts contexts)
Returns the ChangeSetStatuses of all changesets in the change log file and history in the order they would be ran. |
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 date 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 |
| Methods in liquibase.changelog.visitor that throw LiquibaseException |
protected ChangeSetStatus |
StatusVisitor.addStatus(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database)
|
void |
SkippedChangeSetVisitor.skipped(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database,
Set<ChangeSetFilterResult> filterResults)
|
void |
StatusVisitor.skipped(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database,
Set<ChangeSetFilterResult> filterResults)
|
void |
ChangeLogSyncVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database,
Set<ChangeSetFilterResult> filterResults)
|
void |
UpdateVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database,
Set<ChangeSetFilterResult> filterResults)
|
void |
ExpectedChangesVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database,
Set<ChangeSetFilterResult> filterResults)
|
void |
RollbackVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database,
Set<ChangeSetFilterResult> filterResults)
|
void |
StatusVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database,
Set<ChangeSetFilterResult> filterResults)
|
void |
DBDocVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database,
Set<ChangeSetFilterResult> filterResults)
|
void |
ChangeSetVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database,
Set<ChangeSetFilterResult> filterResults)
|
void |
ListVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database,
Set<ChangeSetFilterResult> filterResults)
|
void |
ValidatingVisitor.visit(ChangeSet changeSet,
DatabaseChangeLog databaseChangeLog,
Database database,
Set<ChangeSetFilterResult> filterResults)
|
void |
DBDocVisitor.writeHTML(File rootOutputDir,
ResourceAccessor resourceAccessor)
|
| Methods in liquibase.database that throw LiquibaseException |
void |
Database.dropDatabaseObjects(CatalogAndSchema schema)
|
void |
AbstractJdbcDatabase.dropDatabaseObjects(CatalogAndSchema schemaToDrop)
Drops all objects owned by the connected user. |
void |
Database.execute(SqlStatement[] statements,
List<SqlVisitor> sqlVisitors)
|
void |
AbstractJdbcDatabase.execute(SqlStatement[] statements,
List<SqlVisitor> sqlVisitors)
|
void |
Database.executeRollbackStatements(Change change,
List<SqlVisitor> sqlVisitors)
|
void |
AbstractJdbcDatabase.executeRollbackStatements(Change change,
List<SqlVisitor> sqlVisitors)
|
void |
Database.executeStatements(Change change,
DatabaseChangeLog changeLog,
List<SqlVisitor> sqlVisitors)
|
void |
AbstractJdbcDatabase.executeStatements(Change change,
DatabaseChangeLog changeLog,
List<SqlVisitor> sqlVisitors)
|
void |
Database.saveRollbackStatement(Change change,
List<SqlVisitor> sqlVisitors,
Writer writer)
|
void |
AbstractJdbcDatabase.saveRollbackStatement(Change change,
List<SqlVisitor> sqlVisitors,
Writer writer)
|
void |
Database.saveStatements(Change change,
List<SqlVisitor> sqlVisitors,
Writer writer)
|
void |
AbstractJdbcDatabase.saveStatements(Change change,
List<SqlVisitor> sqlVisitors,
Writer writer)
|
| Methods in liquibase.integration.commandline that throw LiquibaseException |
static void |
CommandLineUtils.doDiff(Database referenceDatabase,
Database targetDatabase,
String snapshotTypes)
|
static void |
CommandLineUtils.doDiff(Database referenceDatabase,
Database targetDatabase,
String snapshotTypes,
CompareControl.SchemaComparison[] schemaComparisons)
|
static void |
CommandLineUtils.doDiffToChangeLog(String changeLogFile,
Database referenceDatabase,
Database targetDatabase,
DiffOutputControl diffOutputControl,
String snapshotTypes)
|
static void |
CommandLineUtils.doDiffToChangeLog(String changeLogFile,
Database referenceDatabase,
Database targetDatabase,
DiffOutputControl diffOutputControl,
String snapshotTypes,
CompareControl.SchemaComparison[] schemaComparisons)
|
static void |
CommandLineUtils.doGenerateChangeLog(String changeLogFile,
Database originalDatabase,
CatalogAndSchema[] schemas,
String snapshotTypes,
String author,
String context,
String dataDir,
DiffOutputControl diffOutputControl)
|
static void |
CommandLineUtils.doGenerateChangeLog(String changeLogFile,
Database originalDatabase,
String catalogName,
String schemaName,
String snapshotTypes,
String author,
String context,
String dataDir,
DiffOutputControl diffOutputControl)
|
static void |
Main.run(String[] args)
|