Uses of Interface
org.instancio.settings.Settings
Packages that use Settings
Package
Description
Instancio public-facing APIs; for usage examples see
Instancio.Contains classes related to generators.
Contains internal classes implementing the core functionality of Instancio.
Contains classes implementing value assignment logic.
Contains context-related implementation classes.
Contains internal classes related to settings.
Contains internal SPIs.
Provides classes for overriding settings at runtime.
Defines Service Provider Interfaces for providing custom implementations.
Provides miscellaneous support classes to
instancio-junit.-
Uses of Settings in org.instancio
Methods in org.instancio with parameters of type SettingsModifier and TypeMethodDescriptionInstancioApi.withSettings(Settings settings) Override defaultSettingsfor generating values. -
Uses of Settings in org.instancio.generator
Methods in org.instancio.generator that return SettingsModifier and TypeMethodDescriptionGeneratorContext.getSettings()Returns a read-only instance of the settings used by Instancio.Constructors in org.instancio.generator with parameters of type Settings -
Uses of Settings in org.instancio.internal
Methods in org.instancio.internal with parameters of type Settings -
Uses of Settings in org.instancio.internal.assigners
Constructors in org.instancio.internal.assigners with parameters of type Settings -
Uses of Settings in org.instancio.internal.context
Methods in org.instancio.internal.context that return SettingsMethods in org.instancio.internal.context with parameters of type Settings -
Uses of Settings in org.instancio.internal.settings
Classes in org.instancio.internal.settings that implement SettingsMethods in org.instancio.internal.settings with parameters of type SettingsModifier and TypeMethodDescription<T extends Number & Comparable<T>>
voidRangeAdjuster.adjustRange(Settings settings, SettingKey<T> key, T otherValue) Adjust givenkeybased onotherValue.<T extends Number & Comparable<T>>
voidRangeAdjuster.ForMax.adjustRange(Settings settings, SettingKey<T> maxSetting, T newMin) <T extends Number & Comparable<T>>
voidRangeAdjuster.ForMin.adjustRange(Settings settings, SettingKey<T> minSetting, T newMax) <N extends Number & Comparable<N>>
voidAutoAdjustable.autoAdjust(@NotNull Settings settings, N otherValue) Auto-adjusts theSettingsvalue for this key based on the value of another setting key.<N extends Number & Comparable<N>>
voidInternalKey.autoAdjust(@NotNull Settings settings, N otherValue) static InternalSettings -
Uses of Settings in org.instancio.internal.spi
Methods in org.instancio.internal.spi that return SettingsConstructors in org.instancio.internal.spi with parameters of type Settings -
Uses of Settings in org.instancio.settings
Methods in org.instancio.settings that return SettingsModifier and TypeMethodDescriptionstatic SettingsSettings.create()Creates a new instance of empty settings.static SettingsSettings.defaults()Creates a new instance containing default settings.static SettingsCreate settings from the given map.static SettingsCreate settings from the given settings.Settings.lock()Locks these settings for further modifications, making this instance immutable.Maps the supertypefromsupertype to 'to' subtype.Creates a new instance of settings by merging given settings with these settings.<T> SettingsSettings.set(@NotNull SettingKey<T> key, T value) Set the setting with the given key to the specified value.Methods in org.instancio.settings with parameters of type Settings -
Uses of Settings in org.instancio.spi
Methods in org.instancio.spi that return SettingsModifier and TypeMethodDescriptionServiceProviderContext.getSettings()Returns a read-only instance of theSettings. -
Uses of Settings in org.instancio.support
Methods in org.instancio.support that return SettingsModifier and TypeMethodDescriptionThreadLocalSettings.get()static @NotNull SettingsGlobal.getPropertiesFileSettings()Default settings overlaid with settings frominstancio.properties.Methods in org.instancio.support with parameters of type Settings