[
https://jira.jboss.org/jira/browse/JBRULES-2132?page=com.atlassian.jira.p...
]
Prem Stephen updated JBRULES-2132:
----------------------------------
Issue Type: Support Patch (was: Feature Request)
Description:
I have added additional documentation for DSL and am submitting 2 files.
The one marked "new" has my changes.
The one I used to modify is also attached, for diff, if needed
was:
In the following DSL
[when]There is a Contact with=Contact()
[when]- age is greater than or equal to {age}=age > {age}
[when]- age is greater than {age}=age > {age}
[when]- age is less than or equal to {age}=age <= {age}
[when]- age is less than {age}=age < {age}
Now, if I had 10 attributes of type int, then currently from what I could read in my
documentation I need to recreate these lines for each of these 10 attributes.
Hope about a DSL that is more granular, similar to the one below ( i am just putting this
up )
[when][operator]is less than="<"
[when][operator]is less than or equal to ="<="
[when][operator]is greater than=">"
[when][operator]is greater than or equal to =">="
then, I should be able to state that since age is a int, it can use the above operators.
A country, being a String, should not be able to use these operators.
Affects: [Documentation (Ref Guide, User Guide, etc.)]
Patch: Docs: Expert: Rule Language chapter: DSL Section
-------------------------------------------------------
Key: JBRULES-2132
URL:
https://jira.jboss.org/jira/browse/JBRULES-2132
Project: JBoss Drools
Issue Type: Support Patch
Security Level: Public(Everyone can see)
Affects Versions: 5.0.1.FINAL
Reporter: Prem Stephen
Assignee: Edson Tirelli
Priority: Critical
Fix For: 5.0.1.FINAL
I have added additional documentation for DSL and am submitting 2 files.
The one marked "new" has my changes.
The one I used to modify is also attached, for diff, if needed
--
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