[jboss-jira] [JBoss JIRA] Created: (JBRULES-1942) Adding API method that returns a collection of WorkingMemoryEntryPoints

Griz frf (JIRA) jira-events at lists.jboss.org
Sun Jan 25 11:09:45 EST 2009


Adding API method that returns a collection of WorkingMemoryEntryPoints
-----------------------------------------------------------------------

                 Key: JBRULES-1942
                 URL: https://jira.jboss.org/jira/browse/JBRULES-1942
             Project: JBoss Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-api
    Affects Versions: 5.0.0.M5
         Environment: n.a
            Reporter: Griz frf
            Assignee: Mark Proctor


Currently there exists the method getWorkingMemoryEntryPoint(String) - that will return the named entry point.
There is not an API call exposed to allow the collection of entry points to be gathered. Such as  Collection<WorkingMemoryEntryPoint> getWorkingMemoryEntryPoints()

This would be useful in many ways to allow developers to maintain entry points and list those points for further use (IE a gui that tests rules by allowing the selection of which entry point an event enters)

Otherwise the developer is forced to hold and sync this information outside the drools code, which is both messy and prone to bugs and faults.
A typical way would be to hold a list of entry points at their creation and hope that no other code removes the entry point without updating the list.

Discussed with e tirelli on IRC.

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

        



More information about the jboss-jira mailing list