[jboss-jira] [JBoss JIRA] Created: (JBRULES-2619) Extend API of IF Rule: no access to interesting attributes

Wolfgang Laun (JIRA) jira-events at lists.jboss.org
Mon Aug 9 02:47:49 EDT 2010


Extend API of IF Rule: no access to interesting attributes    
--------------------------------------------------------------

                 Key: JBRULES-2619
                 URL: https://jira.jboss.org/browse/JBRULES-2619
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-api
    Affects Versions: 5.1.0.FINAL
            Reporter: Wolfgang Laun
            Assignee: Mark Proctor
             Fix For: 5.2.0.M1


Whereas  org.drools.rule.Rule contains a wealth of interesting fields, the stable API org.drools.definition.rule.Rule restricts us to
getName() and getPackageName() (and some MetaData).

I propose an extension of this interface, providing access to agendaGroup, activationGroup and ruleFlowGroup. I see no obvious reason why these user defined attributes should remain hidden.

These rule attributes would provide a good opportunity for writing more sophisticated event loggers, letting you specify rule filters by natural rule groupings.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list