org.axonframework.test.matchers
Class NonTransientFieldsFilter

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

public class NonTransientFieldsFilter
extends Object
implements FieldFilter

FieldFilter implementation that only accepts non-transient 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 NonTransientFieldsFilter 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 NonTransientFieldsFilter instance()
Returns the (singleton) instance of the AllFieldsFilter

Returns:
an AllFieldsFilter instance


Copyright © 2010-2016. All Rights Reserved.