Class SetupConfigurationValueProvider
- java.lang.Object
-
- liquibase.extension.testing.setup.TestSetup
-
- liquibase.extension.testing.setup.SetupConfigurationValueProvider
-
public class SetupConfigurationValueProvider extends TestSetup
Setup class allowing registration of custom configuration value providers, and also providing automatic cleanup.
-
-
Constructor Summary
Constructors Constructor Description SetupConfigurationValueProvider(groovy.lang.Closure<ConfigurationValueProvider> configurationValueProvider)
Create a new configuration value provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
void
setup(TestSetupEnvironment testSetupEnvironment)
-
-
-
Constructor Detail
-
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.
-
-