Package org.axonframework.test.matchers
Class NonStaticFieldsFilter
java.lang.Object
org.axonframework.test.matchers.NonStaticFieldsFilter
- All Implemented Interfaces:
FieldFilter
FieldFilter implementation that only accepts non-static Fields.
- Since:
- 3.3
- Author:
- bliessens
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the givenfieldshould be accepted for processing, or skipped/ignored.static NonStaticFieldsFilterinstance()
-
Method Details
-
instance
-
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
-