Top Description Constructors Methods
liquibase.configuration.core

public Class ScopeValueProvider

extends AbstractConfigurationValueProvider
Class Inheritance
Imports
liquibase.Scope, liquibase.configuration.AbstractConfigurationValueProvider, .ProvidedValue, java.util.Properties

Searches the liquibase.Scope for the given key. Does not perform any key smoothing/translating.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
getPrecedence()

Implements liquibase.configuration.ConfigurationValueProvider.getPrecedence.

Returns the precedence of values returned by this provider.

public ProvidedValue
getProvidedValue(String...
an array of keys to check, where the first element is the canonical key name, any aliases for that key as later elements.
keyAndAliases
)

Implements liquibase.configuration.ConfigurationValueProvider.getProvidedValue.

Lookup the given key(s) in this source.

protected Properties
Inherited from liquibase.configuration.AbstractConfigurationValueProvider:
validate

Constructor Detail

ScopeValueProviderback to summary
public ScopeValueProvider()

Method Detail

getPrecedenceback to summary
public int getPrecedence()

Implements liquibase.configuration.ConfigurationValueProvider.getPrecedence.

Doc from liquibase.configuration.ConfigurationValueProvider.getPrecedence.

Returns the precedence of values returned by this provider. Higher a provider with higher precedence overrides values from lower precedence providers.

Standard provider precedence:

Annotations
@Override
getProvidedValueback to summary
public ProvidedValue getProvidedValue(String... keyAndAliases)

Implements liquibase.configuration.ConfigurationValueProvider.getProvidedValue.

Doc from liquibase.configuration.ConfigurationValueProvider.getProvidedValue.

Lookup the given key(s) in this source. It is up to the implementation to provide any "smoothing" or translation of key names. For example, an EnvironmentValueProvider will look check environment variables containing _'s rather than .'s.

Parameters
keyAndAliases:String[]

an array of keys to check, where the first element is the canonical key name, any aliases for that key as later elements.

Returns:ProvidedValue

null if the key is not defined in this provider.

Annotations
@Override
getSystemPropertiesback to summary
protected Properties getSystemProperties()