Class ArchCondition.ConditionByPredicate<T extends HasDescription & HasSourceCodeLocation>

java.lang.Object
com.tngtech.archunit.lang.ArchCondition<T>
com.tngtech.archunit.lang.ArchCondition.ConditionByPredicate<T>
Type Parameters:
T - The type of object the condition will test
Enclosing class:
ArchCondition<T>

@PublicAPI(usage=ACCESS) public static final class ArchCondition.ConditionByPredicate<T extends HasDescription & HasSourceCodeLocation> extends ArchCondition<T>
An ArchCondition that derives which objects satisfy/violate the condition from a DescribedPredicate. The description is taken from the defining predicate but can be overridden via as(String, Object...). How the message of each single event is derived can be customized by describeEventsBy(EventDescriber).