public class ModuleInfo extends Object
An application can have multiple modules, and each ability belongs to a specific module. You can use this class to obtain the name and source directory of a module.
| 构造器 | 说明 |
|---|---|
ModuleInfo() |
|
ModuleInfo(String moduleName,
String moduleSourceDir) |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
String |
getModuleName() |
Obtains the name of the module hosting the current ability.
|
String |
getModuleSourceDir() |
Obtains the source directory of an installed module.
|
public String getModuleName()
public String getModuleSourceDir()