Top Description Methods
liquibase.configuration

public Interface ConfigurationValueProvider

Known Direct Implementers
liquibase.configuration.AbstractConfigurationValueProvider
Imports
liquibase.command.CommandScope, liquibase.configuration.core.DefaultsFileValueProvider

Defines a way for LiquibaseConfiguration to find configured values.

Method Summary

Modifier and TypeMethod and Description
public int
getPrecedence()

Returns the precedence of values returned by this provider.

public ProvidedValue

Returns:

null if the key is not defined in this provider.
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
)

Lookup the given key(s) in this source.

public void
validate(CommandScope commandScope)

Perform any validation of keys/values stored in this provider for the given commandScope.

Method Detail

getPrecedenceback to summary
public int 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:

getProvidedValueback to summary
public ProvidedValue getProvidedValue(String... keyAndAliases)

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.

validateback to summary
public void validate(CommandScope commandScope) throws IllegalArgumentException

Perform any validation of keys/values stored in this provider for the given commandScope. For example, check for keys that do not match anything expected.