Class SetupConfigurationValueProvider
java.lang.Object
liquibase.extension.testing.setup.TestSetup
liquibase.extension.testing.setup.SetupConfigurationValueProvider
Setup class allowing registration of custom configuration value providers, and also providing automatic cleanup.
-
Constructor Summary
ConstructorDescriptionSetupConfigurationValueProvider
(groovy.lang.Closure<ConfigurationValueProvider> configurationValueProvider) Create a new configuration value provider. -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
void
setup
(TestSetupEnvironment testSetupEnvironment)
-
Constructor Details
-
SetupConfigurationValueProvider
public SetupConfigurationValueProvider(groovy.lang.Closure<ConfigurationValueProvider> configurationValueProvider) Create a new configuration value provider.- Parameters:
configurationValueProvider
- This is a closure so that instantiation can be "lazy", such that you can create configuration value providers which depend on other TestSetup resources, like newly created files, for example.
-
-
Method Details