Class ArchModules<DESCRIPTOR extends ArchModule.Descriptor>

java.lang.Object
com.tngtech.archunit.base.ForwardingCollection<ArchModule<DESCRIPTOR>>
com.tngtech.archunit.library.modules.ArchModules<DESCRIPTOR>
All Implemented Interfaces:
Iterable<ArchModule<DESCRIPTOR>>, Collection<ArchModule<DESCRIPTOR>>

@PublicAPI(usage=ACCESS, state=EXPERIMENTAL) public final class ArchModules<DESCRIPTOR extends ArchModule.Descriptor> extends ForwardingCollection<ArchModule<DESCRIPTOR>>
A collection of "architectural modules". This class provides a convenient API to partition the classes of a code base into (cohesive) modules and assert properties of these modules, e.g. their dependencies to each other or dependencies not contained in any of the constructed modules.
This class provides several entry points to create modules from a set of classes: