|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuleInstance
An 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.
RuleAction
Method Summary | |
---|---|
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 . |
String |
getRuleName()
Returns the name of the Rule object linked to this
rule instance. |
Object[] |
getTuple()
Returns the object bindings or the tuple that satisfies the rule conditions. |
Map<String,Object> |
getVariables()
Return the map of variables of the rule instance. |
Method Detail |
---|
Rule getRule()
Rule
object linked to this rule instance.
Rule
.String getRuleName()
Rule
object linked to this
rule instance.
Rule
name.RuleAction getRuleAction()
RuleAction
linked this RuleInstance
.
RuleAction
instance linked this RuleInstance
.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
.Map<String,Object> getVariables()
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |