T - type of the left and right object.public static final class ReflectionDiffBuilder.Builder<T> extends Object
| Constructor and Description |
|---|
Builder()
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ReflectionDiffBuilder<T> |
build()
Builds a new configured
ReflectionDiffBuilder. |
ReflectionDiffBuilder.Builder<T> |
setDiffBuilder(DiffBuilder<T> diffBuilder)
Sets the DiffBuilder.
|
ReflectionDiffBuilder.Builder<T> |
setExcludeFieldNames(String... excludeFieldNames)
Sets field names to exclude from output.
|
public ReflectionDiffBuilder<T> build()
ReflectionDiffBuilder.ReflectionDiffBuilder.public ReflectionDiffBuilder.Builder<T> setDiffBuilder(DiffBuilder<T> diffBuilder)
diffBuilder - the DiffBuilder.this instance.public ReflectionDiffBuilder.Builder<T> setExcludeFieldNames(String... excludeFieldNames)
"password" or "lastModificationDate".excludeFieldNames - field names to exclude.this instance.Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.