[jboss-jira] [JBoss JIRA] (JBRULES-3271) Make rule context available to enumeration loaders

Michael Anstis (Closed) (JIRA) jira-events at lists.jboss.org
Mon Oct 31 07:55:45 EDT 2011


     [ https://issues.jboss.org/browse/JBRULES-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Anstis closed JBRULES-3271.
-----------------------------------

    Resolution: Duplicate Issue


Moved to https://issues.jboss.org/browse/GUVNOR-1730
                
> Make rule context available to enumeration loaders
> --------------------------------------------------
>
>                 Key: JBRULES-3271
>                 URL: https://issues.jboss.org/browse/JBRULES-3271
>             Project: Drools
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>            Reporter: G Patel
>            Assignee: Mark Proctor
>
> Currently, only fact field names are passed into data enumeration loaders. Sometimes, the enumeration list might need to change based on details about the rule being edited, like rule metadata or package name, etc. The request is to make the Rule object (along with all of it's metadata) available to data enumeration loaders. Perhaps have loaders implement the following interface:
> public interface EnumLoader{
>    public List<String> loadEnum(Rule r, String... dependentFields);
> }
> This will enable support for more contextual enum lists. Very helpful for folks trying to integrate the standalone rule editor into applications.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list