[jboss-jira] [JBoss JIRA] (JBRULES-3009) Provide for declarative Java 1.5 enum definiton in DRL

Davide Sottara (JIRA) jira-events at lists.jboss.org
Sat Jan 14 13:29:19 EST 2012


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

Davide Sottara reassigned JBRULES-3009:
---------------------------------------

    Assignee: Davide Sottara  (was: Mark Proctor)

    
> Provide for declarative Java 1.5 enum definiton in DRL
> ------------------------------------------------------
>
>                 Key: JBRULES-3009
>                 URL: https://issues.jboss.org/browse/JBRULES-3009
>             Project: Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler (expert), drools-core  (expert)
>    Affects Versions: 5.2.0.M2
>            Reporter: Michael Anstis
>            Assignee: Davide Sottara
>
> Java classes can be defined in DRL using the "declare" keyword.
> It would be good to be able to define Java 1.5 enums using "declare" too.
> We could then strip the proprietary "Guvnor style enums" from Guvnor and have the UI front DRL supported enums.
> Guvnor currently also supports related\dependent enums where the "list of values" for one enum is dependent upon the value from another enum: enum FUEL has values "Petrol" and "Diesel", enum FUEL_DERIVATIVE has values "Unleaded", "Super unleaded", "Bio-diesel" and "City disel". If FUEL.Petrol is selected then only FUEL_DERIVATIVE values of "Unleaded" and "Super unleaded" can be chosen. This functionality would still need to be provided by Guvnor as it is used as "author-time" restrictions not runtime.

--
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