public interface ExclusionPolicy
Modifier and Type | Method and Description |
---|---|
boolean |
shouldBeExcluded(java.lang.Class<?> type,
RandomizerContext context)
Given the current randomization context, should the type be excluded from being randomized?
|
boolean |
shouldBeExcluded(java.lang.reflect.Field field,
RandomizerContext context)
Given the current randomization context, should the field be excluded from being randomized?
|
boolean shouldBeExcluded(java.lang.reflect.Field field, RandomizerContext context)
field
- the field to checkcontext
- the current randomization contextboolean shouldBeExcluded(java.lang.Class<?> type, RandomizerContext context)
type
- the type to checkcontext
- the current randomization contextCopyright © 2020. All Rights Reserved.