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

Jozef Marko (Jira) issues at jboss.org
Mon Mar 25 09:47:01 EDT 2019


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

Jozef Marko closed DROOLS-2053.
-------------------------------
    Resolution: Rejected


> Make rule context available to enumeration loaders
> --------------------------------------------------
>
>                 Key: DROOLS-2053
>                 URL: https://issues.jboss.org/browse/DROOLS-2053
>             Project: Drools
>          Issue Type: Feature Request
>          Components: Enumerations Editor
>            Reporter: G Patel
>            Assignee: Michael Anstis
>            Priority: Major
>
> *Moved from https://issues.jboss.org/browse/JBRULES-3271*
> 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 was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list