Class NonTransientFieldsFilter

java.lang.Object
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 Details

    • 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