[jboss-jira] [JBoss JIRA] Created: (JBRULES-3127) PackageBuilder should support an ordered iteration of added/merged packages

Davide Sottara (JIRA) jira-events at lists.jboss.org
Mon Jul 11 15:52:23 EDT 2011


PackageBuilder should support an ordered iteration of added/merged packages 
----------------------------------------------------------------------------

                 Key: JBRULES-3127
                 URL: https://issues.jboss.org/browse/JBRULES-3127
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-compiler
            Reporter: Davide Sottara
            Assignee: Mark Proctor
            Priority: Minor


The getPackages() method returns an array of packages which is based on the internal map's iteration order. 
Instead, the order should depend on the package addition/merge sequence.
E.g. if a KnowledgeBuilder adds the following resources:
r1 -> package p1
r2 -> package p2
r3 -> package p2
r4 -> package p3
r5 -> package p1
the sequence in the array should be p1, p3, p2

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list