Package org.axonframework.test.matchers
Class NonTransientFieldsFilter
java.lang.Object
org.axonframework.test.matchers.NonTransientFieldsFilter
- All Implemented Interfaces:
FieldFilter
FieldFilter implementation that only accepts non-transient Fields.
- Since:
- 2.4.1
- Author:
- Allard Buijze
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the givenfieldshould be accepted for processing, or skipped/ignored.static NonTransientFieldsFilterinstance()Returns the (singleton) instance of the AllFieldsFilter
-
Method Details
-
accept
Description copied from interface:FieldFilterIndicates whether the givenfieldshould be accepted for processing, or skipped/ignored.- Specified by:
acceptin interfaceFieldFilter- Parameters:
field- The field to evaluate- Returns:
truewhen the field should be processed, otherwisefalse
-
instance
Returns the (singleton) instance of the AllFieldsFilter- Returns:
- an AllFieldsFilter instance
-