Package liquibase.configuration
Interface ConfiguredValueModifier<DataType>
-
- All Superinterfaces:
Plugin
public interface ConfiguredValueModifier<DataType> extends Plugin
Provides a way forLiquibaseConfiguration
to modify configured values. After all theConfigurationValueProvider
s have been checked for a value, all registeredConfiguredValueModifier
s are called ingetOrder()
order.
-
-
Field Summary
-
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getOrder()
Returns the order in which modifiers should be run.void
override(ConfiguredValue<DataType> object)
Called to potentially override the givenConfiguredValue
.
-
-
-
Method Detail
-
getOrder
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
-
override
void override(ConfiguredValue<DataType> object)
Called to potentially override the givenConfiguredValue
. Implementations can use any information from the passedConfiguredValue
, including calling getProvidedValue() to determine keys used, format of the value, etc. If an implementation wants to modify the value, it should callConfiguredValue.override(ProvidedValue)
-
-