public interface InclusionConfigurer
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
InclusionConfigurer.ToExclude |
static interface |
InclusionConfigurer.ToInclude |
| 限定符和类型 | 方法和说明 |
|---|---|
ObjectDifferBuilder |
and() |
InclusionConfigurer.ToExclude |
exclude() |
InclusionConfigurer.ToInclude |
include()
Includes elements (and implicitly all their children) based on certain criteria, unless their parent element
is excluded.
|
InclusionConfigurer |
resolveUsing(InclusionResolver resolver)
Registers a custom
InclusionResolver. |
InclusionConfigurer.ToInclude include()
InclusionConfigurer.ToExclude exclude()
InclusionConfigurer resolveUsing(InclusionResolver resolver)
InclusionResolver. Some objects may not be relevant
or suitable for the comparison process. Using an InclusionResolver is a
powerful and flexible way to detect and exclude those objects.
Keep in mind that every single node in the object graph will be checked against each and every registered InclusionResolver. If performance is important to you, make sure that calling
its methods is as cheap as possible.ObjectDifferBuilder and()