public final class LiquibaseDataSourceRuntimeConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
Map<String,String> |
changeLogParameters
Map of parameters that can be used inside Liquibase changeLog files.
|
boolean |
cleanAtStart
true to execute Liquibase clean command automatically when the application starts, false otherwise. |
Optional<List<String>> |
contexts
Comma-separated case-sensitive list of ChangeSet contexts to execute for liquibase.
|
Optional<String> |
databaseChangeLogLockTableName
The liquibase change log lock table name.
|
Optional<String> |
databaseChangeLogTableName
The liquibase change log table name.
|
(package private) static String |
DEFAULT_LOCK_TABLE
The default liquibase lock table
|
(package private) static String |
DEFAULT_LOG_TABLE
The default liquibase log table
|
Optional<String> |
defaultCatalogName
The name of Liquibase's default catalog.
|
Optional<String> |
defaultSchemaName
The name of Liquibase's default schema.
|
Optional<List<String>> |
labels
Comma-separated case-sensitive list of expressions defining labeled ChangeSet to execute for liquibase.
|
Optional<String> |
liquibaseCatalogName
The name of the catalog with the liquibase tables.
|
Optional<String> |
liquibaseSchemaName
The name of the schema with the liquibase tables.
|
Optional<String> |
liquibaseTablespaceName
The name of the tablespace where the -LOG and -LOCK tables will be created (if they do not exist yet).
|
boolean |
migrateAtStart
true to execute Liquibase automatically when the application starts, false otherwise. |
boolean |
validateOnMigrate
true to validate the applied changes against the available ones, false otherwise. |
| Constructor and Description |
|---|
LiquibaseDataSourceRuntimeConfig() |
| Modifier and Type | Method and Description |
|---|---|
static LiquibaseDataSourceRuntimeConfig |
defaultConfig()
Creates a
LiquibaseDataSourceRuntimeConfig with default settings. |
static final String DEFAULT_LOCK_TABLE
static final String DEFAULT_LOG_TABLE
@ConfigItem public boolean migrateAtStart
true to execute Liquibase automatically when the application starts, false otherwise.@ConfigItem(defaultValue="true") public boolean validateOnMigrate
true to validate the applied changes against the available ones, false otherwise. It is only used if
migration-at-start is true@ConfigItem public boolean cleanAtStart
true to execute Liquibase clean command automatically when the application starts, false otherwise.@ConfigItem public Optional<List<String>> contexts
@ConfigItem public Optional<List<String>> labels
@ConfigItem public Map<String,String> changeLogParameters
@ConfigItem(defaultValue="DATABASECHANGELOGLOCK") public Optional<String> databaseChangeLogLockTableName
@ConfigItem(defaultValue="DATABASECHANGELOG") public Optional<String> databaseChangeLogTableName
@ConfigItem public Optional<String> defaultCatalogName
@ConfigItem public Optional<String> defaultSchemaName
@ConfigItem public Optional<String> liquibaseCatalogName
@ConfigItem public Optional<String> liquibaseSchemaName
@ConfigItem public Optional<String> liquibaseTablespaceName
public static final LiquibaseDataSourceRuntimeConfig defaultConfig()
LiquibaseDataSourceRuntimeConfig with default settings.LiquibaseDataSourceRuntimeConfigCopyright © 2021 JBoss by Red Hat. All rights reserved.