Class NormalizingDiffBuilder<T extends @Nullable Object>
java.lang.Object
org.apache.commons.lang3.builder.DiffBuilder<T>
com.atlassian.crowd.directory.ldap.diff.NormalizingDiffBuilder<T>
- Type Parameters:
T- type of top level objects compared
- All Implemented Interfaces:
org.apache.commons.lang3.builder.Builder<org.apache.commons.lang3.builder.DiffResult<T>>
public class NormalizingDiffBuilder<T extends @Nullable Object>
extends org.apache.commons.lang3.builder.DiffBuilder<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.lang3.builder.DiffBuilder
org.apache.commons.lang3.builder.DiffBuilder.Builder<T> -
Constructor Summary
ConstructorsConstructorDescriptionNormalizingDiffBuilder(T left, T right, org.apache.commons.lang3.builder.ToStringStyle style) -
Method Summary
Modifier and TypeMethodDescriptionappendDiff(String fieldName, org.apache.commons.lang3.builder.DiffResult<?> diffResult) This method copiesDiffBuilder.append(String, DiffResult), but allows nested diffed objects to be of different type (compared to generic class T)Methods inherited from class org.apache.commons.lang3.builder.DiffBuilder
append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, append, build, builder
-
Constructor Details
-
NormalizingDiffBuilder
-
-
Method Details
-
append
- Parameters:
fieldName- field nameleftValue- left valuerightValue- right value- Returns:
- this builder
-
appendDiff
public NormalizingDiffBuilder<T> appendDiff(String fieldName, org.apache.commons.lang3.builder.DiffResult<?> diffResult) This method copiesDiffBuilder.append(String, DiffResult), but allows nested diffed objects to be of different type (compared to generic class T)- Parameters:
fieldName- field namediffResult- diff result- Returns:
- this builder
-