@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={liquibase.integration.spring.SpringLiquibase.class,liquibase.change.DatabaseChange.class}) @ConditionalOnProperty(prefix="spring.liquibase", name="enabled", matchIfMissing=true) @Conditional(value=org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration.LiquibaseDataSourceCondition.class) @AutoConfigureAfter(value={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class}) @Import(value={org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration.LiquibaseJdbcOperationsDependsOnPostProcessor.class,org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration.LiquibaseNamedParameterJdbcOperationsDependsOnPostProcessor.class}) public class LiquibaseAutoConfiguration extends Object
Auto-configuration
for Liquibase.Modifier and Type | Class and Description |
---|---|
static class |
LiquibaseAutoConfiguration.LiquibaseConfiguration |
Constructor and Description |
---|
LiquibaseAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.autoconfigure.liquibase.LiquibaseSchemaManagementProvider |
liquibaseDefaultDdlModeProvider(org.springframework.beans.factory.ObjectProvider<liquibase.integration.spring.SpringLiquibase> liquibases) |
@Bean public org.springframework.boot.autoconfigure.liquibase.LiquibaseSchemaManagementProvider liquibaseDefaultDdlModeProvider(org.springframework.beans.factory.ObjectProvider<liquibase.integration.spring.SpringLiquibase> liquibases)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.