Package liquibase.configuration
Class ProvidedValue
- java.lang.Object
-
- liquibase.configuration.ProvidedValue
-
public class ProvidedValue extends Object
Describes a value found from a provider. This is the most basic level at which a configuration value is defined.
-
-
Constructor Summary
Constructors Constructor Description ProvidedValue(String requestedKey, String actualKey, Object value, String sourceDescription, ConfigurationValueProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
describe()
String
getActualKey()
The actual key/source for the value.ConfigurationValueProvider
getProvider()
The provider for this valueString
getRequestedKey()
The configuration key the code asked the provider for.String
getSourceDescription()
A description of where the value came from.Object
getValue()
The value found by the provider.
-
-
-
Constructor Detail
-
ProvidedValue
public ProvidedValue(String requestedKey, String actualKey, Object value, String sourceDescription, ConfigurationValueProvider provider)
-
-
Method Detail
-
getValue
public Object getValue()
The value found by the provider.
-
getRequestedKey
public String getRequestedKey()
The configuration key the code asked the provider for. May be different thangetActualKey()
if the provider does fuzzy matching such as case-insensitive lookups or . -> _ conversions etc.
-
getActualKey
public String getActualKey()
The actual key/source for the value. This may be different thangetRequestedKey()
if the provider does fuzzy matching such as case-insensitive lookups or . -> _ conversions etc.
-
getSourceDescription
public String getSourceDescription()
A description of where the value came from.
-
getProvider
public ConfigurationValueProvider getProvider()
The provider for this value
-
describe
public String describe()
-
-