Class LiquibaseBasedSchemaManager
java.lang.Object
org.flowable.common.engine.impl.db.LiquibaseBasedSchemaManager
- All Implemented Interfaces:
SchemaManager
- Direct Known Subclasses:
CmmnDbSchemaManager,DmnDbSchemaManager,EventDbSchemaManager
- Author:
- Filip Hrisafov
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLiquibaseBasedSchemaManager(String context, String changeLogFile, String changeLogPrefix) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcloseDatabase(liquibase.Liquibase liquibase) protected liquibase.LiquibasecreateLiquibaseInstance(LiquibaseDatabaseConfiguration databaseConfiguration) protected abstract LiquibaseDatabaseConfigurationvoidinitSchema(String databaseSchemaUpdate) protected voidrunForLiquibase(Runnable runnable) voidvoidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.db.SchemaManager
schemaUpdate
-
Field Details
-
LIQUIBASE_SCOPE_VALUES
-
logger
protected final org.slf4j.Logger logger -
context
-
changeLogFile
-
changeLogPrefix
-
-
Constructor Details
-
LiquibaseBasedSchemaManager
-
-
Method Details
-
initSchema
-
runForLiquibase
- Throws:
Exception
-
schemaCreate
public void schemaCreate()- Specified by:
schemaCreatein interfaceSchemaManager
-
schemaDrop
public void schemaDrop()- Specified by:
schemaDropin interfaceSchemaManager
-
schemaUpdate
- Specified by:
schemaUpdatein interfaceSchemaManager
-
schemaCheckVersion
public void schemaCheckVersion()- Specified by:
schemaCheckVersionin interfaceSchemaManager
-
getDatabaseConfiguration
-
createLiquibaseInstance
protected liquibase.Liquibase createLiquibaseInstance(LiquibaseDatabaseConfiguration databaseConfiguration) throws SQLException - Throws:
SQLException
-
closeDatabase
protected void closeDatabase(liquibase.Liquibase liquibase)
-