public interface RuleInstance
RuleInstance object is defined by the association between an
RuleAction and the tuple that satisfies the condition part of a
Rule.
Although a Rule can be composed of several RuleAction
parts, a RuleInstance object is linked to one
RuleAction only.Rule, RuleAction| Modifier and Type | Field and Description |
|---|---|
static java.lang.Object |
INVALID_VALUE
Represent an invalid value of a variable.
|
| Modifier and Type | Method and Description |
|---|---|
EngineData |
getEngineData()
Returns the
EngineData linked to this RuleInstance. |
int |
getPriority()
Returns the priority of the
Rule object linked to
this RuleInstance. |
int |
getRecency()
Returns the recency of the tuple linked to this
RuleInstance. |
Rule |
getRule()
Returns the
Rule object linked to this rule instance. |
RuleAction |
getRuleAction()
Returns the
RuleAction linked this RuleInstance. |
java.lang.String |
getRuleName()
Returns the name of the
Rule object linked to this
rule instance. |
java.lang.Object[] |
getTuple()
Returns the object bindings or the tuple that satisfies the rule
conditions.
|
java.util.Map<java.lang.String,java.lang.Object> |
getVariables()
Return the map of variables of the rule instance.
|
static final java.lang.Object INVALID_VALUE
Rule getRule()
Rule object linked to this rule instance.Rule.java.lang.String getRuleName()
Rule object linked to this
rule instance.Rule name.RuleAction getRuleAction()
RuleAction linked this RuleInstance.RuleAction instance linked this RuleInstance.java.lang.Object[] getTuple()
EngineData getEngineData()
EngineData linked to this RuleInstance.EngineData linked to this RuleInstance.int getPriority()
Rule object linked to
this RuleInstance.int getRecency()
RuleInstance.RuleInstance.java.util.Map<java.lang.String,java.lang.Object> getVariables()
© Copyright IBM Corp. 1987, 2017