Interface IterableModuleFinder
- All Superinterfaces:
ModuleFinder
- All Known Implementing Classes:
JDKModuleFinder, LocalModuleFinder
A module finder which is iterable.
- Author:
- David M. Lloyd
-
Method Summary
Modifier and TypeMethodDescriptioniterateModules(String baseName, boolean recursive, ModuleLoader delegateLoader) Iterate the modules which can be located via this module finder.Methods inherited from interface ModuleFinder
findModule
-
Method Details
-
iterateModules
Iterate the modules which can be located via this module finder.- Parameters:
baseName- the identifier to start with, ornullto iterate all modules; ignored if this module loader does not have a concept of nested modulesrecursive-trueto find recursively nested modules,falseto only find immediately nested modules; ignored if this module finder does not have a concept of nested modulesdelegateLoader- the delegate loader to query for dependency resolution- Returns:
- an iterator for the modules in this module finder
-