org.axonframework.test.matchers
Class AllFieldsFilter

java.lang.Object
  extended by org.axonframework.test.matchers.AllFieldsFilter
All Implemented Interfaces:
FieldFilter

public class AllFieldsFilter
extends Object
implements FieldFilter

FieldFilter implementation that accepts all Fields.

Since:
2.4.1
Author:
Allard Buijze

Method Summary
 boolean accept(Field field)
          Indicates whether the given field should be accepted for processing, or skipped/ignored.
static AllFieldsFilter instance()
          Returns the (singleton) instance of the AllFieldsFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

accept

public boolean accept(Field field)
Description copied from interface: FieldFilter
Indicates whether the given field should be accepted for processing, or skipped/ignored.

Specified by:
accept in interface FieldFilter
Parameters:
field - The field to evaluate
Returns:
true when the field should be processed, otherwise false

instance

public static AllFieldsFilter instance()
Returns the (singleton) instance of the AllFieldsFilter

Returns:
an AllFieldsFilter instance


Copyright © 2010-2016. All Rights Reserved.