Environment
Environment
The Environment
class is an implementation of the IEnvironment
interface.
Implements
Constructor
Name | Description |
---|---|
new Environment(spec, defaultSpec) Static | Creates an environment given its specification. |
Members
Name | Description |
---|---|
application : | Gets the identifier of the client application. |
locale : | Gets the identifier of the locale. |
reservedChars : | Gets the reserved characters for file names, all concatenated in a single string. |
server : | Gets information about the server web application. |
theme : | Gets the identifier of the theme. |
user : | Gets information about the user. |
Methods
Name | Description |
---|---|
createChild(childSpec) : pentaho.environment.IEnvironment | Creates a child context of this one given its specification. Any unspecified information is inherited from this context. |
toSpec() : pentaho.environment.spec.IEnvironment | Creates a specification with the information of this context. |
Constructor Details
new Environment(spec, defaultSpec) Static | |||||||||
---|---|---|---|---|---|---|---|---|---|
Creates an environment given its specification. Any absent or Source: javascript/web/pentaho/environment/impl/Environment.js, line 44
|
Members Details
application: |
---|
Gets the identifier of the client application. Source: doc-js/pentaho/environment/IEnvironment.jsdoc, line 34 |
locale: |
---|
Gets the identifier of the locale. Source: doc-js/pentaho/environment/IEnvironment.jsdoc, line 70 |
reservedChars: |
---|
Gets the reserved characters for file names, all concatenated in a single string. Source: doc-js/pentaho/environment/IEnvironment.jsdoc, line 79 |
server: |
---|
Gets information about the server web application. Source: doc-js/pentaho/environment/IEnvironment.jsdoc, line 52 |
theme: |
---|
Gets the identifier of the theme. Source: doc-js/pentaho/environment/IEnvironment.jsdoc, line 61 |
user: |
---|
Gets information about the user. Source: doc-js/pentaho/environment/IEnvironment.jsdoc, line 43 |
Methods Details
createChild(childSpec) : pentaho.environment.IEnvironment | ||
---|---|---|
Creates a child context of this one given its specification. Any unspecified information is inherited from this context. Source: doc-js/pentaho/environment/IEnvironment.jsdoc, line 88 |
Name | Default Value | Summary |
---|---|---|
childSpec : pentaho.environment.spec.IEnvironment Optional | The child context specification. |
Name | Description |
---|---|
pentaho.environment.IEnvironment | The child context. |
toSpec() : pentaho.environment.spec.IEnvironment | |
---|---|
Creates a specification with the information of this context. Source: doc-js/pentaho/environment/IEnvironment.jsdoc, line 99 |
Name | Description |
---|---|
pentaho.environment.spec.IEnvironment | The context specification. |
See also: pentaho.environment.IEnvironment#toJSON