liquibase.configuration
Class SystemPropertyProvider
java.lang.Object
liquibase.configuration.SystemPropertyProvider
- All Implemented Interfaces:
- ConfigurationValueProvider
public class SystemPropertyProvider
- extends Object
- implements ConfigurationValueProvider
A ConfigurationValueProvider implementation that looks for overriding values in system properties.
Looks for system properties in the format "NAMESPACE.PROPERTY_NAME".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemPropertyProvider
public SystemPropertyProvider()
getValue
public Object getValue(String namespace,
String property)
- Description copied from interface:
ConfigurationValueProvider
- Return the value for a given namespace and property. Returns null if this provider does not have a value for this property.
- Specified by:
getValue
in interface ConfigurationValueProvider
describeValueLookupLogic
public String describeValueLookupLogic(ConfigurationProperty property)
- Description copied from interface:
ConfigurationValueProvider
- Generates a human consumable description of how the configured ConfigurationValueProvider(s) will attempt to set a default value.
See
LiquibaseConfiguration.describeValueLookupLogic(ConfigurationProperty)
- Specified by:
describeValueLookupLogic
in interface ConfigurationValueProvider
Copyright © 2016 Liquibase.org. All rights reserved.