Package org.apache.juneau.utils
Class BeanDiff.Builder<T>
java.lang.Object
org.apache.juneau.utils.BeanDiff.Builder<T>
- Type Parameters:
- T- The bean type.
- Enclosing class:
- BeanDiff
Builder class.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbeanContext(BeanContext value) Specifies the bean context to use for introspecting beans.build()Build the differences.Specifies the properties to exclude from the comparison.Specifies the properties to exclude from the comparison.Specifies the first bean to compare.Specifies the properties to include in the comparison.Specifies the properties to include in the comparison.Specifies the second bean to compare.
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
firstSpecifies the first bean to compare.- Parameters:
- value- The first bean to compare.
- Returns:
- This object.
 
- 
secondSpecifies the second bean to compare.- Parameters:
- value- The first bean to compare.
- Returns:
- This object.
 
- 
beanContextSpecifies the bean context to use for introspecting beans.If not specified, uses BeanContext.DEFAULT.- Parameters:
- value- The bean context to use for introspecting beans.
- Returns:
- This object.
 
- 
includeSpecifies the properties to include in the comparison.If not specified, compares all properties. - Parameters:
- properties- The properties to include in the comparison.
- Returns:
- This object.
 
- 
includeSpecifies the properties to include in the comparison.If not specified, compares all properties. - Parameters:
- properties- The properties to include in the comparison.
- Returns:
- This object.
 
- 
excludeSpecifies the properties to exclude from the comparison.- Parameters:
- properties- The properties to exclude from the comparison.
- Returns:
- This object.
 
- 
excludeSpecifies the properties to exclude from the comparison.- Parameters:
- properties- The properties to exclude from the comparison.
- Returns:
- This object.
 
- 
buildBuild the differences.- Returns:
- A new BeanDiffobject.
 
 
-