Interface KnowledgeHelper

All Superinterfaces:
ConsequenceContext, KieContext, RuleContext, Serializable

public interface KnowledgeHelper extends ConsequenceContext, Serializable
KnowledgeHelper implementation types are injected into consequenses instrumented at compile time and instances passed at runtime. It provides convenience methods for users to interact with the WorkingMemory.

Of particular interest is the update method as it allows an object to be modified without having to specify the facthandle, because they are not passed to the consequence at runtime. To achieve this the implementation will need to lookup the fact handle of the object form the WorkingMemory.