Class FlowableLiquibaseEnvironmentPostProcessor
java.lang.Object
com.flowable.spring.boot.environment.FlowableLiquibaseEnvironmentPostProcessor
- All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor
@Order(100)
public class FlowableLiquibaseEnvironmentPostProcessor
extends java.lang.Object
implements org.springframework.boot.env.EnvironmentPostProcessor
When one of the engines that uses liquibase is pulled in with Spring Boot, it pulls the liquibase dependency
and that activates
LiquibaseAutoConfiguration. However,
this leads to issues, when the user doesn't actually use it. Therefore, we must disable it per default. In order
to activate it, users need to set liquibase.enabled=true explicitly.- Author:
- Filip Hrisafov
-
Constructor Summary
Constructors Constructor Description FlowableLiquibaseEnvironmentPostProcessor() -
Method Summary
Modifier and Type Method Description protected java.lang.StringgetLiquibaseProperty()voidpostProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
-
Constructor Details
-
FlowableLiquibaseEnvironmentPostProcessor
public FlowableLiquibaseEnvironmentPostProcessor()
-
-
Method Details
-
postProcessEnvironment
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)- Specified by:
postProcessEnvironmentin interfaceorg.springframework.boot.env.EnvironmentPostProcessor
-
getLiquibaseProperty
protected java.lang.String getLiquibaseProperty()
-