Top Description Fields Methods
liquibase.configuration

public Interface ConfiguredValueModifier<DataType>

extends Plugin
Imports
liquibase.plugin.Plugin

Provides a way for LiquibaseConfiguration to modify configured values. After all the ConfigurationValueProviders have been checked for a value, all registered ConfiguredValueModifiers are called in getOrder() order.

Field Summary

Inherited from liquibase.plugin.Plugin:
PRIORITY_DATABASEPRIORITY_DEFAULTPRIORITY_NOT_APPLICABLEPRIORITY_SPECIALIZED

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

int
getOrder
()

Returns the order in which modifiers should be run.

public void
override(ConfiguredValue<DataType> object)

Called to potentially override the given ConfiguredValue.

public default String

Returns:

the overridden value if it was overridden, or the provided value otherwise
override
(String
value to override
value
)

Called to potentially override the given value.

Method Detail

getOrderback to summary
public int getOrder()

Returns the order in which modifiers should be run. Modifiers with a higher order will run after modifiers with a lower order value.

Returns:int

int

overrideback to summary
public void override(ConfiguredValue<DataType> object)

Called to potentially override the given ConfiguredValue. Implementations can use any information from the passed ConfiguredValue, including calling getProvidedValue() to determine keys used, format of the value, etc. If an implementation wants to modify the value, it should call ConfiguredValue#override(ProvidedValue)

overrideback to summary
public default String override(String value)

Called to potentially override the given value.

Parameters
value:String

value to override

Returns:String

the overridden value if it was overridden, or the provided value otherwise