Uses of Interface
org.instancio.settings.Settings
Package
Description
Instancio public-facing APIs; for usage examples see
Instancio
.Contains classes related to generators.
Provides classes for overriding settings at runtime.
Defines Service Provider Interfaces for providing custom implementations.
-
Uses of Settings in org.instancio
Modifier and TypeMethodDescriptionCartesianProductApi.withSettings
(Settings settings) Override defaultSettings
for generating values.InstancioApi.withSettings
(Settings settings) Override defaultSettings
for generating values.InstancioOperations.withSettings
(Settings settings) Override defaultSettings
for generating values. -
Uses of Settings in org.instancio.generator
Modifier and TypeMethodDescriptionGeneratorContext.getSettings()
Returns a read-only instance of the settings used by Instancio. -
Uses of Settings in org.instancio.settings
Modifier and TypeMethodDescriptionstatic Settings
Settings.create()
Creates a new instance of empty settings.static Settings
Settings.defaults()
Creates a new instance containing default settings.static Settings
Create settings from the given map.static Settings
Create settings from the given settings.Settings.lock()
Locks these settings for further modifications, making this instance immutable.Maps the supertypefrom
supertype to 'to' subtype.Creates a new instance of settings by merging given settings with these settings.<T> Settings
Settings.set
(SettingKey<T> key, T value) Set the setting with the given key to the specified value. -
Uses of Settings in org.instancio.spi
Modifier and TypeMethodDescriptionServiceProviderContext.getSettings()
Returns a read-only instance of theSettings
.