public class DeprecatedConfigurationValueProvider extends AbstractMapConfigurationValueProvider
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 and Description |
|---|
DeprecatedConfigurationValueProvider()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
clearData()
Deprecated.
|
protected Map<?,?> |
getMap()
Deprecated.
|
int |
getPrecedence()
Deprecated.
Returns the precedence of values returned by this provider.
|
protected String |
getSourceDescription()
Deprecated.
|
static <T> void |
setData(ConfigurationDefinition<T> configuration,
T value)
Deprecated.
|
static void |
setData(String key,
Object value)
Deprecated.
|
getMapHash, getProvidedValue, isValueSet, keyMatches, lookupProvidedValuevalidatepublic DeprecatedConfigurationValueProvider()
protected Map<?,?> getMap()
getMap in class AbstractMapConfigurationValueProviderpublic int getPrecedence()
ConfigurationValueProviderScopeValueProviderDeprecatedConfigurationValueProviderSystemPropertyValueProviderDefaultsFileValueProviderpublic static <T> void setData(ConfigurationDefinition<T> configuration, T value)
public static void clearData()
protected String getSourceDescription()
getSourceDescription in class AbstractMapConfigurationValueProviderCopyright © 2022 Liquibase.org. All rights reserved.