Skip to main content
Pentaho Documentation

IContext

pentaho.type.spec.IContext

The spec.IContext interface describes the configuration of a Type API context.

The following is a sample configuration rule set that configures the Type API context for the Analyzer application with the ranking of the hypothetical instance "my/customSpecialService":

{
  "rules": [
    {
      "select": {
        "application": "pentaho-analyzer",
        "type": "pentaho/type/Context"
      },
      "apply": {
        "instances": {
          "my/customSpecialService": {
            "priority": 10
          }
        }
      }
    }
  ]
}

Source: doc-js/pentaho/type/spec/IContext.jsdoc, line 17

See also:  pentaho.type.spec.InstancesContainer

Members

Name Description
instances : pentaho.type.spec.InstancesContainer

The instances' container configuration of the context.

Members Details

instances: pentaho.type.spec.InstancesContainer

The instances' container configuration of the context.

Source: doc-js/pentaho/type/spec/IContext.jsdoc, line 50