Package liquibase.configuration.core
Class DeprecatedConfigurationValueProvider
java.lang.Object
liquibase.configuration.AbstractConfigurationValueProvider
liquibase.configuration.AbstractMapConfigurationValueProvider
liquibase.configuration.core.DeprecatedConfigurationValueProvider
- All Implemented Interfaces:
ConfigurationValueProvider
Deprecated.
ConfigurationValueProvider
that simulates the behavior from pre-4.4 methods like GlobalConfiguration.setOutputEncoding(String)
.
It is also useful for integrations that do not yet support a "Scope" style calling of logic.
The values set in here should override environmental settings like SystemPropertyValueProvider
but is overridden by new-style code using ScopeValueProvider
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated.protected Map<?,
?> getMap()
Deprecated.int
Deprecated.Returns the precedence of values returned by this provider.protected String
Deprecated.static void
Deprecated.static <T> void
setData
(ConfigurationDefinition<T> configuration, T value) Deprecated.Methods inherited from class liquibase.configuration.AbstractMapConfigurationValueProvider
getMapHash, getProvidedValue, isValueSet, keyMatches, lookupProvidedValue
Methods inherited from class liquibase.configuration.AbstractConfigurationValueProvider
validate
-
Constructor Details
-
DeprecatedConfigurationValueProvider
public DeprecatedConfigurationValueProvider()Deprecated.
-
-
Method Details
-
getMap
Deprecated.- Specified by:
getMap
in classAbstractMapConfigurationValueProvider
-
getPrecedence
public int getPrecedence()Deprecated.Description copied from interface:ConfigurationValueProvider
Returns the precedence of values returned by this provider. Higher a provider with higher precedence overrides values from lower precedence providers.
Standard provider precedence:- 400
ScopeValueProvider
- 350
DeprecatedConfigurationValueProvider
- 250 Integration specific providers
- 300: TODO JNDI attributes
- 250: TODO Servlet Context
- 200
SystemPropertyValueProvider
- 150 EnvironmentValueProvider
- 100: TODO profile/context specific properties files
- 50:
DefaultsFileValueProvider
- 400
-
setData
Deprecated. -
setData
Deprecated. -
clearData
public static void clearData()Deprecated.Clears all data stored in this provider. -
getSourceDescription
Deprecated.- Specified by:
getSourceDescription
in classAbstractMapConfigurationValueProvider
-