public class LiquibaseMigrator extends DatabaseMigratorBase
Modifier and Type | Field and Description |
---|---|
protected org.apache.logging.log4j.Logger |
migrationLog |
log
Constructor and Description |
---|
LiquibaseMigrator() |
Modifier and Type | Method and Description |
---|---|
Resource |
getChangeLog() |
void |
update()
Run the migration script against the database.
|
void |
update(Writer writer)
Run the migration script and write the output to the
Writer . |
void |
update(Writer writer,
Resource resource)
Run the provided migration script (against the local database) and write the output to the
Writer . |
boolean |
validate()
Validate the current already executed ChangeSets against the migration script
|
afterPropertiesSet, getApplicationContext, getDatasourceName, getResource, hasMigrationScript, isEnabled, logConfigurationMessage, lookupMigratorDatasource, setApplicationContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
getConfigurationClassLoader
public Resource getChangeLog()
getChangeLog
in class DatabaseMigratorBase
public boolean validate()
DatabaseMigratorBase
validate
in class DatabaseMigratorBase
public void update()
DatabaseMigratorBase
update
in class DatabaseMigratorBase
public void update(Writer writer) throws JdbcException
DatabaseMigratorBase
Writer
.update
in class DatabaseMigratorBase
JdbcException
public void update(Writer writer, Resource resource) throws JdbcException
DatabaseMigratorBase
Writer
.update
in class DatabaseMigratorBase
JdbcException
Copyright © 2023 Frank!Framework. All rights reserved.