|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.axonframework.test.matchers.IgnoreField
public class IgnoreField
FieldFilter implementation that rejects a given Field
Constructor Summary | |
---|---|
IgnoreField(Class<?> clazz,
String fieldName)
Initialize an instance that ignores the a field with given fieldName , which is declared on the
given
clazz . |
|
IgnoreField(Field field)
Initialize an instance that ignores the given field |
Method Summary | |
---|---|
boolean |
accept(Field field)
Indicates whether the given field should be accepted for processing, or skipped/ignored. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IgnoreField(Field field)
field
field
- The field to ignorepublic IgnoreField(Class<?> clazz, String fieldName)
fieldName
, which is declared on the
given
clazz
.
clazz
- The type that declares the fieldfieldName
- The name of the field
FixtureExecutionException
- when the given fieldName is not declared on given clazz.Method Detail |
---|
public boolean accept(Field field)
FieldFilter
field
should be accepted for processing, or skipped/ignored.
accept
in interface FieldFilter
field
- The field to evaluate
true
when the field should be processed, otherwise false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |