Package org.instancio.settings
package org.instancio.settings
Provides classes for overriding settings at runtime.
-
ClassDescriptionA setting that specifies whether objects should be populated via fields or methods.A setting that specifies whether Bean Validation annotations are declared on fields or getters.Defines all keys supported by Instancio.A class containing modifier constants.The mode is used to specify strictness level, either
Mode.STRICT
orMode.LENIENT
, an idea borrowed from the Mockito library.A setting that specifies what should happen if an error occurs when setting a field's value.A setting that specifies what should happen if an error occurs during a setter method invocation.A setting that specifies what should happen if a setter cannot be resolved.A setting that specifies what should happen if a setter has no matching field.Specifies the style of setter to use whenAssignmentType.METHOD
is enabled.SettingKey<T>A setting key represents a configuration item that can be stored in aSettings
instance.A builder for creating custom keys.This class provides an API for updating settings programmatically.