Class AllowedModuleDependencies.RequiringAllowedTargets
java.lang.Object
com.tngtech.archunit.library.modules.syntax.AllowedModuleDependencies.RequiringAllowedTargets
- Enclosing class:
- AllowedModuleDependencies
@PublicAPI(usage=ACCESS,
state=EXPERIMENTAL)
public final class AllowedModuleDependencies.RequiringAllowedTargets
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionDefines the allowed targetmodule namesfor the current originmodule name
-
Method Details
-
toModules
@PublicAPI(usage=ACCESS, state=EXPERIMENTAL) public AllowedModuleDependencies toModules(String... targetModuleNames) Defines the allowed targetmodule namesfor the current originmodule name- Parameters:
targetModuleNames- An array of allowed targetmodule names- Returns:
AllowedModuleDependencies
-