Interface MethodsShouldConjunction
- All Superinterfaces:
ArchRule
,CanBeEvaluated
,CanOverrideDescription<ArchRule>
,CodeUnitsShouldConjunction<JavaMethod>
,HasDescription
,MembersShouldConjunction<JavaMethod>
@PublicAPI(usage=ACCESS)
public interface MethodsShouldConjunction
extends CodeUnitsShouldConjunction<JavaMethod>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tngtech.archunit.lang.ArchRule
ArchRule.Assertions, ArchRule.Factory, ArchRule.Transformation
-
Method Summary
Modifier and TypeMethodDescriptionSame asClassesShouldConjunction.andShould()
but forJavaMember
andShould
(ArchCondition<? super JavaMethod> condition) Same asClassesShouldConjunction.andShould(ArchCondition)
but forJavaMember
orShould()
Same asClassesShouldConjunction.orShould()
but forJavaMember
orShould
(ArchCondition<? super JavaMethod> condition) Same asClassesShouldConjunction.orShould(ArchCondition)
but forJavaMember
Methods inherited from interface com.tngtech.archunit.lang.ArchRule
allowEmptyShould, because, check
Methods inherited from interface com.tngtech.archunit.lang.CanBeEvaluated
evaluate
Methods inherited from interface com.tngtech.archunit.core.domain.properties.CanOverrideDescription
as
Methods inherited from interface com.tngtech.archunit.base.HasDescription
getDescription
-
Method Details
-
andShould
@PublicAPI(usage=ACCESS) MethodsShouldConjunction andShould(ArchCondition<? super JavaMethod> condition) Description copied from interface:MembersShouldConjunction
Same asClassesShouldConjunction.andShould(ArchCondition)
but forJavaMember
- Specified by:
andShould
in interfaceCodeUnitsShouldConjunction<JavaMethod>
- Specified by:
andShould
in interfaceMembersShouldConjunction<JavaMethod>
-
andShould
Description copied from interface:MembersShouldConjunction
Same asClassesShouldConjunction.andShould()
but forJavaMember
- Specified by:
andShould
in interfaceCodeUnitsShouldConjunction<JavaMethod>
- Specified by:
andShould
in interfaceMembersShouldConjunction<JavaMethod>
-
orShould
@PublicAPI(usage=ACCESS) MethodsShouldConjunction orShould(ArchCondition<? super JavaMethod> condition) Description copied from interface:MembersShouldConjunction
Same asClassesShouldConjunction.orShould(ArchCondition)
but forJavaMember
- Specified by:
orShould
in interfaceCodeUnitsShouldConjunction<JavaMethod>
- Specified by:
orShould
in interfaceMembersShouldConjunction<JavaMethod>
-
orShould
Description copied from interface:MembersShouldConjunction
Same asClassesShouldConjunction.orShould()
but forJavaMember
- Specified by:
orShould
in interfaceCodeUnitsShouldConjunction<JavaMethod>
- Specified by:
orShould
in interfaceMembersShouldConjunction<JavaMethod>
-