Class AllDependenciesCondition
java.lang.Object
com.tngtech.archunit.lang.ArchCondition<OWNER>
com.tngtech.archunit.lang.conditions.AllDependenciesCondition
-
Nested Class Summary
Nested classes/interfaces inherited from class com.tngtech.archunit.lang.ArchCondition
ArchCondition.ConditionByPredicate<T extends HasDescription & HasSourceCodeLocation>
-
Method Summary
Modifier and TypeMethodDescriptionOverwrites the description of thisArchCondition
.final void
check
(JavaClass item, ConditionEvents events) ignoreDependency
(DescribedPredicate<? super Dependency> ignorePredicate) toString()
Methods inherited from class com.tngtech.archunit.lang.ArchCondition
and, finish, forSubtype, from, getDescription, init, or
-
Method Details
-
ignoreDependency
@PublicAPI(usage=ACCESS) public AllDependenciesCondition ignoreDependency(DescribedPredicate<? super Dependency> ignorePredicate) -
as
Description copied from class:ArchCondition
Overwrites the description of thisArchCondition
. E.g.
would then yieldclasses().should(condition.as("some customized description with '%s'", "parameter"))
classes should some customized description with 'parameter'
.- Overrides:
as
in classArchCondition<JavaClass>
- Parameters:
description
- The new description of thisArchCondition
args
- Optional arguments to fill into the description viaString.format(String, Object...)
- Returns:
- An
ArchCondition
with adjusteddescription
.
-
check
- Specified by:
check
in classArchCondition<OWNER>
-
toString
- Overrides:
toString
in classArchCondition<OWNER>
-