Engine.invokeRule()

Signature

Object[] invokeRule(String uri, Object[] inputSet, boolean dirtyRead)

Domain

ACTION, BUI

Description

Find all the matched tuples of a rule given partial input set. And for each tuple, execute the rule action.

Parameters

NameTypeDescription
uriStringThe URI of the rule to invoke.
inputSetObject[]support one input in the array.)
dirtyReadbooleanIf true, it won't synchronize the working memory during the read when calling from preprocessor

Returns

TypeDescription
Object[]The result Set, each element in the Object[] is a result tuple which is another Object[].

Cautions

none