Skip to main content

Pentaho+ documentation is moving!

The new product documentation portal is here. Check it out now at docs.hitachivantara.com

 

Hitachi Vantara Lumada and Pentaho Documentation

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 SpecificationScope.

Members

Name Description
specContext : pentaho.type.SpecificationContext

Gets the associated specification context.

Methods

Name Description
dispose()

Disposes of the specification scope.

Constructor Details

new SpecificationScope(context)

Creates a SpecificationScope.

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

Parameters:
Name Default Value Summary
context : pentaho.type.SpecificationContext
Optional

A specification context to use.

Members Details

specContext: pentaho.type.SpecificationContext

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