public interface ConfiguredValueModifier<DataType> extends Plugin
LiquibaseConfiguration
to modify configured values.
After all the ConfigurationValueProvider
s have been checked for a value, all registered ConfiguredValueModifier
s are called in getOrder()
order.PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
Modifier and Type | Method and Description |
---|---|
int |
getOrder()
Returns the order in which modifiers should be run.
|
void |
override(ConfiguredValue<DataType> object)
Called to potentially override the given
ConfiguredValue . |
int getOrder()
void override(ConfiguredValue<DataType> object)
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)
Copyright © 2023 Liquibase.org. All rights reserved.