public class DefaultExclusionPolicy extends java.lang.Object implements ExclusionPolicy
| Constructor and Description |
|---|
DefaultExclusionPolicy() |
| 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 populated ?
|
boolean |
shouldBeExcluded(java.lang.reflect.Field field,
RandomizerContext context)
Given the current randomization context, should the field be excluded from being populated ?
|
public boolean shouldBeExcluded(java.lang.reflect.Field field,
RandomizerContext context)
shouldBeExcluded in interface ExclusionPolicyfield - the field to checkcontext - the current randomization contextpublic boolean shouldBeExcluded(java.lang.Class<?> type,
RandomizerContext context)
shouldBeExcluded in interface ExclusionPolicytype - the type to checkcontext - the current randomization contextCopyright © 2020. All Rights Reserved.