Interface ServiceProviderContext


@ExperimentalApi public interface ServiceProviderContext
Provides additional information to InstancioServiceProvider.
Since:
2.12.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a read-only instance of the Settings.
    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 the Settings.
      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