Package com.tngtech.archunit.core.domain
Class Dependency.Predicates
java.lang.Object
com.tngtech.archunit.core.domain.Dependency.Predicates
- Enclosing class:
- Dependency
Predefined
predicates
targeting Dependency
.-
Method Summary
Modifier and TypeMethodDescriptionstatic DescribedPredicate<Dependency>
dependency
(DescribedPredicate<? super JavaClass> originPredicate, DescribedPredicate<? super JavaClass> targetPredicate) static DescribedPredicate<Dependency>
dependency
(Class<?> originClass, Class<?> targetClass) static DescribedPredicate<Dependency>
dependency
(String originClassName, String targetClassName) static DescribedPredicate<Dependency>
dependencyOrigin
(DescribedPredicate<? super JavaClass> predicate) static DescribedPredicate<Dependency>
dependencyOrigin
(Class<?> clazz) static DescribedPredicate<Dependency>
dependencyOrigin
(String className) static DescribedPredicate<Dependency>
dependencyTarget
(DescribedPredicate<? super JavaClass> predicate) static DescribedPredicate<Dependency>
dependencyTarget
(Class<?> clazz) static DescribedPredicate<Dependency>
dependencyTarget
(String className)
-
Method Details
-
dependency
@PublicAPI(usage=ACCESS) public static DescribedPredicate<Dependency> dependency(Class<?> originClass, Class<?> targetClass) -
dependency
@PublicAPI(usage=ACCESS) public static DescribedPredicate<Dependency> dependency(String originClassName, String targetClassName) -
dependency
@PublicAPI(usage=ACCESS) public static DescribedPredicate<Dependency> dependency(DescribedPredicate<? super JavaClass> originPredicate, DescribedPredicate<? super JavaClass> targetPredicate) -
dependencyOrigin
@PublicAPI(usage=ACCESS) public static DescribedPredicate<Dependency> dependencyOrigin(Class<?> clazz) -
dependencyOrigin
@PublicAPI(usage=ACCESS) public static DescribedPredicate<Dependency> dependencyOrigin(String className) -
dependencyOrigin
@PublicAPI(usage=ACCESS) public static DescribedPredicate<Dependency> dependencyOrigin(DescribedPredicate<? super JavaClass> predicate) -
dependencyTarget
@PublicAPI(usage=ACCESS) public static DescribedPredicate<Dependency> dependencyTarget(Class<?> clazz) -
dependencyTarget
@PublicAPI(usage=ACCESS) public static DescribedPredicate<Dependency> dependencyTarget(String className) -
dependencyTarget
@PublicAPI(usage=ACCESS) public static DescribedPredicate<Dependency> dependencyTarget(DescribedPredicate<? super JavaClass> predicate)
-