Package com.tngtech.archunit.library.modules.syntax
package com.tngtech.archunit.library.modules.syntax
-
ClassDescriptionDefines which module may depend on which other modules by
module name.
Start the definition by following the fluent API throughAllowedModuleDependencies.allow().
Extend the definition by callingAllowedModuleDependencies.fromModule(String)multiple times.DescriptorFunction<DESCRIPTOR extends ArchModule.Descriptor>Serves the same purpose asArchModules.DescriptorCreator, but carries along adescriptionto be used by rule syntax elements.GivenModules<DESCRIPTOR extends ArchModule.Descriptor>GivenModulesByAnnotation<ANNOTATION extends Annotation>GivenModulesByAnnotationConjunction<ANNOTATION extends Annotation>GivenModulesConjunction<DESCRIPTOR extends ArchModule.Descriptor>Used to specify which dependencies should be checked by the respectiveArchRule.ModuleRuleDefinition.RootClassesDefinition<DESCRIPTOR extends ArchModule.Descriptor>ModulesByAnnotationRule<ANNOTATION extends Annotation>ModulesByAnnotationShould<ANNOTATION extends Annotation>ModulesRule<DESCRIPTOR extends ArchModule.Descriptor>ModulesShould<DESCRIPTOR extends ArchModule.Descriptor>ModulesShouldConjunction<DESCRIPTOR extends ArchModule.Descriptor>