[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1186) Adding 'OR' constraints to fact's properties in DSL

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Wed Apr 8 20:53:22 EDT 2009


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

Edson Tirelli updated JBRULES-1186:
-----------------------------------

    Component/s: drools-compiler-DSL
                     (was: drools-compiler)
        Affects: [Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial]  (was: [Interactive Demo/Tutorial, Documentation (Ref Guide, User Guide, etc.)])


> Adding 'OR' constraints to fact's properties in DSL
> ---------------------------------------------------
>
>                 Key: JBRULES-1186
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-1186
>             Project: JBoss Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler-DSL
>    Affects Versions: 4.0.1
>         Environment: All OS platform
>            Reporter: Andy Mei
>            Assignee: Edson Tirelli
>            Priority: Minor
>             Fix For: FUTURE
>
>
> I would like to write something like this :
> There is a Cheese with
>         ( - age is less than 42 
> 		or
> 	-  age is more than 60 )
>         - type is 'stilton'
> Unfortunately, It's the drools parser which manage "-" char.
> Also this previous synthax don't work in the LHS.
> Anyone could help me to do an equivalent condition in my DSL ? If possible with "-" sugar char.

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