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 : | The instances' configuration of the context. |
types : | The types' configuration of the context. |
Members Details
instances: |
---|
The instances' configuration of the context. |
types: |
---|
The types' configuration of the context. |