ModuleFinder
public interface IterableModuleFinder extends ModuleFinder
Modifier and Type | Method | Description |
---|---|---|
default Iterator<String> |
iterateModules(String baseName,
boolean recursive) |
Iterate the modules which can be located via this module finder.
|
default Iterator<ModuleIdentifier> |
iterateModules(ModuleIdentifier baseIdentifier,
boolean recursive) |
Deprecated.
Use
iterateModules(String, boolean) instead. |
findModule, findModule
default Iterator<ModuleIdentifier> iterateModules(ModuleIdentifier baseIdentifier, boolean recursive)
iterateModules(String, boolean)
instead.baseIdentifier
- the identifier to start with, or null
to iterate all modulesrecursive
- true
to find recursively nested modules, false
to only find immediately nested
modulesdefault Iterator<String> iterateModules(String baseName, boolean recursive)
baseName
- the identifier to start with, or null
to iterate all modules; ignored if this module
loader does not have a concept of nested modulesrecursive
- true
to find recursively nested modules, false
to only find immediately nested
modules; ignored if this module finder does not have a concept of nested modulesCopyright © 2022 JBoss by Red Hat. All rights reserved.