public class LiquibaseUpdateDataProvider extends Object
DatabaseUpdateType
s to liquibase change-log files and the properties to use
during the update.Constructor and Description |
---|
LiquibaseUpdateDataProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getChangeLogLocation(DatabaseUpdateType updateType)
Get the classpath location of the change-log file for the update type
|
Map<String,Object> |
getChangeLogParameters(DatabaseUpdateType updateType)
Get the parameters which should be passed to the liquibase instance when the change-log file
for the given update type is processed.
|
public String getChangeLogLocation(DatabaseUpdateType updateType) throws DatabaseUpdateException
updateType
- the type of update which should be runDatabaseUpdateException
- in case there is no change-log for the given typepublic Map<String,Object> getChangeLogParameters(DatabaseUpdateType updateType)
updateType
- the type of update which should be runCopyright © 2019 Communote team. All rights reserved.