Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-18
-
Fix Version/s: 2.0-beta-19
-
Component/s: reteoo
-
Labels:None
-
Number of attachments :
Description
I would like to have a list or rule failures when the rules are not applied. I can accomplish this by implementing WorkingMemoryEventListener. When a rule is loaded, activationCreated(ActivationCreatedEvent ace) is called. When a consequence is successfully executed, then activationFired(ActivationFiredEvent ae) is called. I would like to add to a map by rule name when activationCreated is called, and remove it when activationFired is called. This will give me a map of the failed rules. However, no getRule() exists on the Events, just getTuple and getConsequence. I would add this feature myself, but I am unable to compile the source with the existing build file. I recieve javax.rule not found errors, but the jsr*.jar files are in the lib and the ant classpath.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Component/s | reteoo [ 10000 ] | |
| Affects Version/s | 2.0-beta-18 [ 11030 ] | |
| Affects Version/s | 2.0-beta-19 [ 11370 ] | |
| Fix Version/s | 2.0-beta-19 [ 11370 ] |
| Summary | add getRule() to WorkingMemoryEvent, or all Subclasses | add getRule() to Activation related events |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] | |
| Assignee | Mark Proctor [ mdproctor ] |