Interface ApplicationModuleDetectionStrategy
- All Known Implementing Classes:
- ApplicationModuleDetectionStrategies
public interface ApplicationModuleDetectionStrategy
Strategy interface to customize which packages are considered module base packages.
- Author:
- Oliver Drotbohm
- 
Method SummaryModifier and TypeMethodDescriptionAApplicationModuleDetectionStrategythat considers all direct sub-packages of the Moduliths base package to be module base packages.AApplicationModuleDetectionStrategythat considers packages explicitly annotated withApplicationModulemodule base packages.getModuleBasePackages(JavaPackage basePackage) Given theJavaPackagethat Moduliths was initialized with, return the base packages for all modules in the system.
- 
Method Details- 
getModuleBasePackagesGiven theJavaPackagethat Moduliths was initialized with, return the base packages for all modules in the system.- Parameters:
- basePackage- will never be null.
- Returns:
- must not be null.
 
- 
directSubPackageAApplicationModuleDetectionStrategythat considers all direct sub-packages of the Moduliths base package to be module base packages.- Returns:
- will never be null.
 
- 
explictlyAnnotatedAApplicationModuleDetectionStrategythat considers packages explicitly annotated withApplicationModulemodule base packages.- Returns:
- will never be null.
 
 
-