IMeta
pentaho.module. IMeta
The IMeta
interface contains the metadata of a JavaScript module.
A JavaScript module is identified by its identifier
.
Source: doc-js/pentaho/module/IMeta.jsdoc, line 17
See also: pentaho.module.ITypeMeta , pentaho.module.IInstanceMeta
Members
Name | Description |
---|---|
alias : | Gets the alias of the module. |
config : | Gets the configuration of the module. |
id : | Gets the identifier of the module. |
isConfigLoaded : | Gets a value that indicates if the module's configuration has been loaded. |
isLoaded : | Gets a value that indicates if the module's value is directly available through the |
kind : | Gets the kind of module. |
ranking : | Gets the ranking of the module. |
resolveId | Resolves a module identifier as if it were a dependency of this one. |
value : | Gets the value of the module, if it has been loaded already, or |
Methods
Name | Description |
---|---|
loadAsync() : Promise | Loads the module and returns a promise for its value. |
loadConfigAsync() : Promise.< | Loads the configuration of the module and returns a promise for it. |
Members Details
alias: |
---|
Gets the alias of the module. |
config: |
---|
Gets the configuration of the module. When not yet loaded, or if the module has no configuration, returns Source: doc-js/pentaho/module/IMeta.jsdoc, line 116 See also: pentaho.module.IMeta#isConfigLoaded , pentaho.module.IMeta#loadConfigAsync |
id: |
---|
Gets the identifier of the module. |
isConfigLoaded: |
---|
Gets a value that indicates if the module's configuration has been loaded. Source: doc-js/pentaho/module/IMeta.jsdoc, line 131 See also: pentaho.module.IMeta#config |
isLoaded: |
---|
Gets a value that indicates if the module's value is directly available through the Source: doc-js/pentaho/module/IMeta.jsdoc, line 93 See also: pentaho.module.IMeta#value |
kind: |
---|
Gets the kind of module. One of the strings |
ranking: |
---|
Gets the ranking of the module. The ranking determines the order of the module amongst other modules. |
resolveId: |
---|
Resolves a module identifier as if it were a dependency of this one. Resolving makes Afterwards, any applicable RequireJS contextual mapping configuration is applied. Source: doc-js/pentaho/module/IMeta.jsdoc, line 142 See also: pentaho.module.util.resolveModuleId |
value: |
---|
Gets the value of the module, if it has been loaded already, or Source: doc-js/pentaho/module/IMeta.jsdoc, line 80 See also: pentaho.module.IMeta#isLoaded , pentaho.module.IMeta#loadAsync |
Methods Details
loadAsync() : Promise | ||||
---|---|---|---|---|
Loads the module and returns a promise for its value. Source: doc-js/pentaho/module/IMeta.jsdoc, line 69
See also: pentaho.module.IMeta#value |
loadConfigAsync() : Promise.< | ||||
---|---|---|---|---|
Loads the configuration of the module and returns a promise for it. Source: doc-js/pentaho/module/IMeta.jsdoc, line 105
See also: pentaho.module.IMeta#config |