Package org.springframework.test.context
Interface DynamicPropertyRegistry
public interface DynamicPropertyRegistry
Registry used with@DynamicPropertySource
methods so that they can add properties to theEnvironment
that 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 void
add(String name, Supplier<Object> valueSupplier)
Add aSupplier
for the given property name to this registry.