| Package | Description |
|---|---|
| org.jeasy.random.api |
Public API.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ObjectFactory.createInstance(java.lang.Class<T> type,
RandomizerContext context)
Create a new instance of
type in the given randomization context. |
default Randomizer<?> |
RandomizerProvider.getRandomizerByField(java.lang.reflect.Field field,
RandomizerContext context)
Return a randomizer for the given field in the current context.
|
default <T> Randomizer<T> |
RandomizerProvider.getRandomizerByType(java.lang.Class<T> type,
RandomizerContext context)
Return a randomizer for the given type in the current context.
|
void |
ContextAwareRandomizer.setRandomizerContext(RandomizerContext context) |
boolean |
ExclusionPolicy.shouldBeExcluded(java.lang.Class<?> type,
RandomizerContext context)
Given the current randomization context, should the type be excluded from being randomized?
|
boolean |
ExclusionPolicy.shouldBeExcluded(java.lang.reflect.Field field,
RandomizerContext context)
Given the current randomization context, should the field be excluded from being randomized?
|
Copyright © 2019. All Rights Reserved.