ReflectionDiffBuilder.Builder¶
- public static final class org.apache.commons.lang3.builder.ReflectionDiffBuilder.Builder<T> extends AbstractReflection.AbstractBuilder<ReflectionDiffBuilder.Builder<T>>[source]¶
Constructs a new instance.
- Parameters:
<T> – type of the left and right object.
- Since:
3.15.0
Constructors¶
Constructs a new instance. |
Methods¶
Builds a new configured |
|
Sets the DiffBuilder. |
|
Sets field names to exclude from output. |
- public ReflectionDiffBuilder<T> build()[source]¶
Builds a new configured
ReflectionDiffBuilder.- Returns:
A new configured
ReflectionDiffBuilder.
- @Override public ReflectionDiffBuilder<T> get()[source]¶
- public ReflectionDiffBuilder.Builder<T> setDiffBuilder(DiffBuilder<T> diffBuilder)[source]¶
Sets the DiffBuilder.
- Parameters:
diffBuilder – The DiffBuilder.
- Returns:
thisinstance.
- public ReflectionDiffBuilder.Builder<T> setExcludeFieldNames(String... excludeFieldNames)[source]¶
Sets field names to exclude from output. Intended for fields like
"password"or"lastModificationDate".- Parameters:
excludeFieldNames – field names to exclude.
- Returns:
thisinstance.