Uses of Interface
org.jeasy.random.api.RandomizerContext
Packages that use RandomizerContext
Package
Description
Core implementation of Easy Random.
Public API.
-
Uses of RandomizerContext in org.jeasy.random
Methods in org.jeasy.random with parameters of type RandomizerContextModifier and TypeMethodDescription<T> T
ObjenesisObjectFactory.createInstance
(Class<T> type, RandomizerContext context) <T> T
RecordFactory.createInstance
(Class<T> type, RandomizerContext context) boolean
DefaultExclusionPolicy.shouldBeExcluded
(Class<?> type, RandomizerContext context) Given the current randomization context, should the type be excluded from being populated ?boolean
DefaultExclusionPolicy.shouldBeExcluded
(Field field, RandomizerContext context) Given the current randomization context, should the field be excluded from being populated ? -
Uses of RandomizerContext in org.jeasy.random.api
Methods in org.jeasy.random.api with parameters of type RandomizerContextModifier and TypeMethodDescription<T> T
ObjectFactory.createInstance
(Class<T> type, RandomizerContext context) Create a new instance oftype
in the given randomization context.default Randomizer<?>
RandomizerProvider.getRandomizerByField
(Field field, RandomizerContext context) Return a randomizer for the given field in the current context.default <T> Randomizer<T>
RandomizerProvider.getRandomizerByType
(Class<T> type, RandomizerContext context) Return a randomizer for the given type in the current context.void
ContextAwareRandomizer.setRandomizerContext
(RandomizerContext context) boolean
ExclusionPolicy.shouldBeExcluded
(Class<?> type, RandomizerContext context) Given the current randomization context, should the type be excluded from being randomized?boolean
ExclusionPolicy.shouldBeExcluded
(Field field, RandomizerContext context) Given the current randomization context, should the field be excluded from being randomized?default boolean
ExclusionPolicy.shouldBeExcluded
(Field field, RandomizerContext context, Object object)