SpecificationScope
pentaho.type. SpecificationScope
A class that manages the ambient specification context
.
AMD Module
require(["pentaho/type/SpecificationScope"], function(SpecificationScope) { /* code goes here */ });
Implements
Constructor
Name | Description |
---|---|
new SpecificationScope(context) | Creates a |
Members
Name | Description |
---|---|
specContext | Gets the associated specification context. |
Methods
Name | Description |
---|---|
dispose() | Disposes of the specification scope. |
Constructor Details
new SpecificationScope(context) | ||||||
---|---|---|---|---|---|---|
Creates a If a specification context is given, it is used and set as the ambient specification context. Otherwise, if an ambient specification context exists, that context is used. Otherwise, a new specification context is created and set as the ambient specification context. In this case, when the scope is disposed, the created context is disposed as well. Source: javascript/web/pentaho/type/SpecificationScope.js, line 48
|
Members Details
specContext: |
---|
Gets the associated specification context. Source: javascript/web/pentaho/type/SpecificationScope.js, line 68 |
Methods Details
dispose() |
---|
Disposes of the specification scope. If this scope created its specification context, it disposes of it, as well. If there was a previous specification context before this one, it is restored. Source: javascript/web/pentaho/type/SpecificationScope.js, line 80 |