Package org.instancio.spi
Interface ServiceProviderContext
Provides additional information to
InstancioServiceProvider
.- Since:
- 2.12.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns a read-only instance of theSettings
.random()
Returns the random instance that should be used for generating values to ensure reproducible results.
-
Method Details
-
getSettings
Settings getSettings()Returns a read-only instance of theSettings
.- Returns:
- read-only instance of settings
- Since:
- 2.12.0
-
random
Random random()Returns the random instance that should be used for generating values to ensure reproducible results.- Returns:
- the random instance
- Since:
- 2.13.0
-