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, lookupProvidedValue
validate
public DeprecatedConfigurationValueProvider()
protected Map<?,?> getMap()
getMap
in class AbstractMapConfigurationValueProvider
public int getPrecedence()
ConfigurationValueProvider
ScopeValueProvider
DeprecatedConfigurationValueProvider
SystemPropertyValueProvider
DefaultsFileValueProvider
public static <T> void setData(ConfigurationDefinition<T> configuration, T value)
public static void clearData()
protected String getSourceDescription()
getSourceDescription
in class AbstractMapConfigurationValueProvider
Copyright © 2023 Liquibase.org. All rights reserved.