Package liquibase.configuration.core
Class SystemPropertyValueProvider
- java.lang.Object
-
- liquibase.configuration.AbstractConfigurationValueProvider
-
- liquibase.configuration.AbstractMapConfigurationValueProvider
-
- liquibase.configuration.core.SystemPropertyValueProvider
-
- All Implemented Interfaces:
ConfigurationValueProvider
public class SystemPropertyValueProvider extends AbstractMapConfigurationValueProvider
Searches for the configuration values in the system propertiesSystem.getProperties()
.To improve usability, it will search for the given key case insensitively.
-
-
Constructor Summary
Constructors Constructor Description SystemPropertyValueProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<?,?>
getMap()
int
getPrecedence()
Returns the precedence of values returned by this provider.protected String
getSourceDescription()
-
Methods inherited from class liquibase.configuration.AbstractMapConfigurationValueProvider
getMapHash, getProvidedValue, isValueSet, keyMatches, lookupProvidedValue
-
Methods inherited from class liquibase.configuration.AbstractConfigurationValueProvider
validate
-
-
-
-
Method Detail
-
getPrecedence
public int getPrecedence()
Description copied from interface:ConfigurationValueProvider
Returns 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
-
getSourceDescription
protected String getSourceDescription()
- Specified by:
getSourceDescription
in classAbstractMapConfigurationValueProvider
-
getMap
protected Map<?,?> getMap()
- Specified by:
getMap
in classAbstractMapConfigurationValueProvider
-
-