@Retention(value=RUNTIME) @Target(value=METHOD) @Inherited public @interface ObjectDiffProperty
Modifier and Type | Optional Element and Description |
---|---|
String[] |
categories
Categories will be passed along with the object node and can be used for advanced filtering of specific
property groups.
|
boolean |
equalsOnly
Causes the
Differs to compare the object by using the Object.equals(Object) method instead of introspection. |
String |
equalsOnlyValueProviderMethod
Can be used in conjunction with
equalsOnly() to name a method on the object that provides the
value to compare via equals. |
boolean |
excluded
Deprecated.
Please use inclusion() instead. When used in conjunction with inclusion(), the latter one will win over excluded().
|
Inclusion |
inclusion |
@Deprecated public abstract boolean excluded
Differs
to skip the marked property and all its children.true
if the property should be ignored.public abstract Inclusion inclusion
public abstract boolean equalsOnly
Differs
to compare the object by using the Object.equals(Object)
method instead of introspection.true
if the property should be compared via Object.equals(Object)
.public abstract String[] categories
public abstract String equalsOnlyValueProviderMethod
equalsOnly()
to name a method on the object that provides the
value to compare via equals.Copyright © 2014. All rights reserved.