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> TObjenesisObjectFactory.createInstance(Class<T> type, RandomizerContext context) <T> TRecordFactory.createInstance(Class<T> type, RandomizerContext context) booleanDefaultExclusionPolicy.shouldBeExcluded(Class<?> type, RandomizerContext context) Given the current randomization context, should the type be excluded from being populated ?booleanDefaultExclusionPolicy.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> TObjectFactory.createInstance(Class<T> type, RandomizerContext context) Create a new instance oftypein 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.voidContextAwareRandomizer.setRandomizerContext(RandomizerContext context) booleanExclusionPolicy.shouldBeExcluded(Class<?> type, RandomizerContext context) Given the current randomization context, should the type be excluded from being randomized?booleanExclusionPolicy.shouldBeExcluded(Field field, RandomizerContext context) Given the current randomization context, should the field be excluded from being randomized?default booleanExclusionPolicy.shouldBeExcluded(Field field, RandomizerContext context, Object object)