
liquibase.configuration.ConfiguredValueModifier Maven / Gradle / Ivy
package liquibase.configuration;
import liquibase.plugin.Plugin;
/**
* Provides a way for {@link LiquibaseConfiguration} to modify configured values.
* After all the {@link ConfigurationValueProvider}s have been checked for a value, all registered {@link ConfiguredValueModifier}s are called in {@link #getOrder()} order.
*/
public interface ConfiguredValueModifier extends Plugin {
/**
* Returns the order in which modifiers should be run. Modifiers with a higher order will run after modifiers with a lower order value.
*
* @return int
*/
int getOrder();
/**
* Called to potentially override the given {@link ConfiguredValue}.
* Implementations can use any information from the passed {@link ConfiguredValue}, including calling getProvidedValue() to determine keys used, format of the value, etc.
* If an implementation wants to modify the value, it should call {@link ConfiguredValue#override(ProvidedValue)}
*/
void override(ConfiguredValue object);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy