Meta
.module. Meta
The Meta
class implements the module.IMeta
interface.
Implements
Constructor
Name | Description |
---|---|
new Meta(id, spec, resolver) Abstract | Constructs the metadata of a module. |
Members
Name | Description |
---|---|
_isLoaded : Protected | Indicates the value has been loaded or was specified. |
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 |
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. |
Constructor Details
new Meta(id, spec, resolver) Abstract | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs the metadata of a module. Source: javascript/web/pentaho/_core/module/Meta.js, line 50
|
Members Details
_isLoaded: Protected |
---|
Indicates the value has been loaded or was specified. Source: javascript/web/pentaho/_core/module/Meta.js, line 89 |
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 |
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 |
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. |
value: |
---|
Gets the value of the module, if it has been loaded already, or |
Methods Details
loadAsync() : Promise | |
---|---|
Loads the module and returns a promise for its value. |
Name | Description |
---|---|
Promise | A promise for the value of the module. |
See also: pentaho.module.IMeta#value
loadConfigAsync() : Promise.< | |
---|---|
Loads the configuration of the module and returns a promise for it. |
Name | Description |
---|---|
Promise.< | A promise for the configuration of the module. |
See also: pentaho.module.IMeta#config