Package org.springframework.test.context
Interface DynamicPropertyRegistry
public interface DynamicPropertyRegistry
Registry used with@DynamicPropertySourcemethods so that they can add properties to theEnvironmentthat have dynamically resolved values.- Since:
- 5.2.5
- Author:
- Phillip Webb, Sam Brannen
- See Also:
DynamicPropertySource
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(String name, Supplier<Object> valueSupplier)Add aSupplierfor the given property name to this registry.