liquibase.parser.ChangeLogParserConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
package liquibase.parser;
import liquibase.configuration.ConfigurationDefinition;
import liquibase.configuration.AutoloadedConfigurations;
/**
* Configuration container for properties applicable to most {@link liquibase.parser.ChangeLogParser} implementations
*/
public class ChangeLogParserConfiguration implements AutoloadedConfigurations {
public static final ConfigurationDefinition SUPPORT_PROPERTY_ESCAPING;
public static final ConfigurationDefinition USE_PROCEDURE_SCHEMA;
static {
ConfigurationDefinition.Builder builder = new ConfigurationDefinition.Builder("liquibase");
SUPPORT_PROPERTY_ESCAPING = builder.define("supportPropertyEscaping", Boolean.class)
.setDescription("Support escaping changelog parameters using a colon. Example: ${:user.name}")
.setDefaultValue(false)
.addAliasKey("enableEscaping")
.build();
USE_PROCEDURE_SCHEMA = builder.define("useProcedureSchema", Boolean.class)
.setDescription("If set to true (default value), createProcedure tags with a set schemaName will modify the procedure body with the given schema name.")
.setDefaultValue(true)
.build();
}
}