Package org.axonframework.test.matchers
Class MatchAllFieldFilter
java.lang.Object
org.axonframework.test.matchers.MatchAllFieldFilter
- All Implemented Interfaces:
FieldFilter
FieldFilter that delegates to an arbitrary number of other filters. This filter accepts any field that is accepted
by all registered filters.
By default, all fields are accepted.
- Since:
- 2.4.1
- Author:
- Allard Buijze
-
Constructor Summary
ConstructorsConstructorDescriptionMatchAllFieldFilter(Collection<FieldFilter> filters) Initializes a filter that accepts any field that is accepted by all givenfilters -
Method Summary
-
Constructor Details
-
MatchAllFieldFilter
Initializes a filter that accepts any field that is accepted by all givenfilters- Parameters:
filters- The filters to use to evaluate a given Field
-
-
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
-