Annotation Interface DiffIgnoreProperties
Use the
All properties listed in the annotation are ignored by the Javers.
Using this annotation is equiv to putting
Usage with
DiffIgnoreProperties annotation to mark a list properties (fields or methods)
of a class as ignored by Javers.
All properties listed in the annotation are ignored by the Javers.
Using this annotation is equiv to putting
DiffIgnore on each of the listed property.
Usage with
MappingStyle.FIELD:
@DiffIgnoreProperties("field1", "field2")
public class MyClass {
String field1;
String field2;
String field3;
}
Usage with MappingStyle.BEAN:
@DiffIgnoreProperties("getName1", "getName2")
public class MyClass {
String getName1() { ... }
String getName2() { ... }
String getName3() { ... }
}
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String[] value- Default:
- {}
-