Package liquibase.configuration.core
Class DeprecatedConfigurationValueProvider
- java.lang.Object
-
- liquibase.configuration.AbstractConfigurationValueProvider
-
- liquibase.configuration.AbstractMapConfigurationValueProvider
-
- liquibase.configuration.core.DeprecatedConfigurationValueProvider
-
- All Implemented Interfaces:
ConfigurationValueProvider
public class DeprecatedConfigurationValueProvider extends AbstractMapConfigurationValueProvider
Deprecated.ConfigurationValueProviderthat simulates the behavior from pre-4.4 methods likeGlobalConfiguration.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 likeSystemPropertyValueProviderbut is overridden by new-style code usingScopeValueProvider.
-
-
Constructor Summary
Constructors Constructor Description DeprecatedConfigurationValueProvider()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidclearData()Deprecated.protected Map<?,?>getMap()Deprecated.intgetPrecedence()Deprecated.Returns the precedence of values returned by this provider.protected StringgetSourceDescription()Deprecated.static voidsetData(String key, Object value)Deprecated.static <T> voidsetData(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
-
-
-
-
Method Detail
-
getMap
protected Map<?,?> getMap()
Deprecated.- Specified by:
getMapin classAbstractMapConfigurationValueProvider
-
getPrecedence
public int getPrecedence()
Deprecated.Description copied from interface:ConfigurationValueProviderReturns 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
public static <T> void setData(ConfigurationDefinition<T> configuration, T value)
Deprecated.
-
clearData
public static void clearData()
Deprecated.Clears all data stored in this provider.
-
getSourceDescription
protected String getSourceDescription()
Deprecated.- Specified by:
getSourceDescriptionin classAbstractMapConfigurationValueProvider
-
-