Skip to main content
Hitachi Vantara Lumada and 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/customServiceWithLogging" and type "my/CustomType":

{
  "rules": [
    {
      "select": {
        "application": "pentaho-analyzer",
        "type": "pentaho/type/Context"
      },
      "apply": {
        "instances": {
          "my/customServiceWithLogging": {
            "ranking": 10
          }
        },
        "types": {
          "my/CustomType": {
            "ranking": 10
          }
        }
      }
    }
  ]
}

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

See also: pentaho.type.spec.ContextInstancesConfiguration , pentaho.type.spec.ContextTypesConfiguration

Members

Name Description
instances :  pentaho.type.spec.ContextInstancesConfiguration

The instances' configuration of the context.

types :  pentaho.type.spec.ContextTypesConfiguration

The types' configuration of the context.

Members Details

instances:  pentaho.type.spec.ContextInstancesConfiguration

The instances' configuration of the context.

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

types:  pentaho.type.spec.ContextTypesConfiguration

The types' configuration of the context.

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