Interface ArchModules.DescriptorCreator<DESCRIPTOR extends ArchModule.Descriptor>
- Type Parameters:
DESCRIPTOR- The type of the createdArchModule.Descriptor
- Enclosing class:
- ArchModules<DESCRIPTOR extends ArchModule.Descriptor>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@PublicAPI(usage=INHERITANCE)
public static interface ArchModules.DescriptorCreator<DESCRIPTOR extends ArchModule.Descriptor>
A generic interface to be extended by users for providing custom implementations of
ArchModule.Descriptor
that can carry along more meta-information from the modularized JavaClasses.-
Method Summary
Modifier and TypeMethodDescriptioncreate(ArchModule.Identifier identifier, Set<JavaClass> containedClasses)
-
Method Details
-
create
- Parameters:
identifier- TheArchModule.Identifierof the respectiveArchModulecontainedClasses- Theclassescontained in the respectiveArchModule- Returns:
- A specific instance of a subtype of
ArchModule.Descriptor
-