liquibase.configuration
Class SystemPropertyProvider

java.lang.Object
  extended by 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".


Constructor Summary
SystemPropertyProvider()
           
 
Method Summary
 String describeValueLookupLogic(ConfigurationProperty property)
          Generates a human consumable description of how the configured ConfigurationValueProvider(s) will attempt to set a default value.
 Object getValue(String namespace, String property)
          Return the value for a given namespace and property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemPropertyProvider

public SystemPropertyProvider()
Method Detail

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.