context
pentaho.context
The context
namespace contains types that allow access to environmental information of the Pentaho Platform.
Overview
The IContext
interface is the top interface that represents the environment. Part of its information is described by the contained IServer
and IUser
interfaces.
pentaho.context.main
is the main environment instance of the Pentaho Platform. Secondary environments can be derived from the main environment, by using its IContext#createChild
method.
The specification classes, in the pentaho.context.spec
namespace, expose the raw environmental data in plain JavaScript objects or JSON format. These can be used in IContext#createChild
or result from IContext#toSpec
.
Source: doc-js/pentaho/context/_namespace.jsdoc, line 17
Child Namespaces
Name | Summary |
---|---|
spec | The |
Members
Name | Description |
---|---|
main : | The main environment of the JavaScript Pentaho Platform. |
Members Details
main: |
---|
The main environment of the JavaScript Pentaho Platform. This instance is initialized with the environment specification which is the value of this module's AMD configuration. Source: javascript/web/pentaho/context.js, line 26 See also: pentaho.context.spec.IContext |