Package liquibase.extension.testing
Class LiquibaseSdkConfigurationValueProvider
java.lang.Object
liquibase.configuration.AbstractConfigurationValueProvider
liquibase.configuration.AbstractMapConfigurationValueProvider
liquibase.extension.testing.LiquibaseSdkConfigurationValueProvider
- All Implemented Interfaces:
ConfigurationValueProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<?,?> getMap()intReturns the precedence of values returned by this provider.protected Stringprotected booleanisValueSet(Object value) Used byConfigurationValueProvider.getProvidedValue(String[])to determine if the given value is a "real" value.Methods inherited from class liquibase.configuration.AbstractMapConfigurationValueProvider
getDescription, getMapHash, getProvidedValue, keyMatches, lookupProvidedValueMethods inherited from class liquibase.configuration.AbstractConfigurationValueProvider
validate
-
Constructor Details
-
LiquibaseSdkConfigurationValueProvider
public LiquibaseSdkConfigurationValueProvider()
-
-
Method Details
-
getPrecedence
public int getPrecedence()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
-
getMap
- Specified by:
getMapin classAbstractMapConfigurationValueProvider
-
getSourceDescription
- Specified by:
getSourceDescriptionin classAbstractMapConfigurationValueProvider
-
isValueSet
Description copied from class:AbstractMapConfigurationValueProviderUsed byConfigurationValueProvider.getProvidedValue(String[])to determine if the given value is a "real" value. This implementation returns false if value is null or if it is an empty string- Overrides:
isValueSetin classAbstractMapConfigurationValueProvider
-