Uses of Interface
io.github.krandom.api.RandomizerContext
Packages that use RandomizerContext
Package
Description
Core implementation of k-random.
Public API.
-
Uses of RandomizerContext in io.github.krandom
Methods in io.github.krandom with parameters of type RandomizerContextModifier and TypeMethodDescription<T> T
ObjenesisObjectFactory.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 io.github.krandom.api
Methods in io.github.krandom.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?