Interface GivenFields
- All Superinterfaces:
GivenMembers<JavaField>,GivenObjects<JavaField>
-
Method Summary
Modifier and TypeMethodDescriptionFieldsShould<?>should()Allows to specify assertions for the set of members under consideration.should(ArchCondition<? super JavaField> condition) Allows to specify assertions for the set of members under consideration.FieldsThat<? extends GivenFieldsConjunction>that()Allows to restrict the set of members under consideration.that(DescribedPredicate<? super JavaField> predicate) Allows to restrict the set of members under consideration.
-
Method Details
-
that
Description copied from interface:GivenMembers- Specified by:
thatin interfaceGivenMembers<JavaField>- Returns:
- A syntax element, which can be used to restrict the members under consideration
-
that
@PublicAPI(usage=ACCESS) GivenFieldsConjunction that(DescribedPredicate<? super JavaField> predicate) Description copied from interface:GivenMembersAllows to restrict the set of members under consideration. E.g.
Note that many predefinedmembers().that(haveName("foo"))predicatescan be found within a subclassPredicatesof the respective domain object or a common ancestor. For example,predicatestargetingJavaMembercan be found withinJavaMember.Predicatesor one of the respective ancestors likeHasName.Predicates.- Specified by:
thatin interfaceGivenMembers<JavaField>- Specified by:
thatin interfaceGivenObjects<JavaField>- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
should
Description copied from interface:GivenMembersAllows to specify assertions for the set of members under consideration. E.g.
members().should().haveName("foo")- Specified by:
shouldin interfaceGivenMembers<JavaField>- Returns:
- A syntax element, which can be used to restrict the members under consideration
-
should
Description copied from interface:GivenMembersAllows to specify assertions for the set of members under consideration. E.g.
Predefined conditions to customize and join can be found withinmembers().should(haveName("foo"))ArchConditions.- Specified by:
shouldin interfaceGivenMembers<JavaField>- Specified by:
shouldin interfaceGivenObjects<JavaField>- Returns:
- A syntax element, which can be used to restrict the members under consideration
-