public class LiquibaseHelper extends Object
| Constructor | Description |
|---|---|
LiquibaseHelper(Map<String,String> props) |
Creates a new helper.
|
| Modifier and Type | Method | Description |
|---|---|---|
File |
generateMigrations() |
|
File |
getMasterChangeLogFile() |
|
File |
getResourcesDir() |
|
void |
migrate() |
Helper utility to perform a Liquibase database migration.
|
public File getResourcesDir()
public File getMasterChangeLogFile()
public void migrate()
throws liquibase.exception.LiquibaseException,
SQLException
liquibase.exception.LiquibaseExceptionSQLExceptionLiquibase.update(String)public File generateMigrations() throws IOException, liquibase.exception.LiquibaseException, SQLException
IOExceptionliquibase.exception.LiquibaseExceptionSQLExceptionCopyright © 2018 Ajibot. All rights reserved.