|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--jeops.RuleEvent
A semantic event that indicates that a rule was fired.
Field Summary | |
private int |
ruleIndex
The index of the fired rule. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
RuleEvent(AbstractKnowledgeBase source,
int ruleIndex)
Class constructor. |
Method Summary | |
AbstractKnowledgeBase |
getKnowledgeBase()
Returns the knowledge base that fired the rule. |
int |
getRuleIndex()
Returns the index of the fired rule. |
Methods inherited from class java.util.EventObject |
getSource,
toString |
Methods inherited from class java.lang.Object |
|
Field Detail |
private int ruleIndex
Constructor Detail |
public RuleEvent(AbstractKnowledgeBase source, int ruleIndex)
source
- the knowledge base that fired the rule.ruleIndex
- the index of the fired rule.Method Detail |
public AbstractKnowledgeBase getKnowledgeBase()
public int getRuleIndex()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |