[
http://jira.jboss.com/jira/browse/JBRULES-1023?page=all ]
Michael Neale reassigned JBRULES-1023:
--------------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
This is a nice to have, but for 4.2 at the earliest.
Typing the parameter to be replace by DSL/DRL replacement
---------------------------------------------------------
Key: JBRULES-1023
URL:
http://jira.jboss.com/jira/browse/JBRULES-1023
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Reporter: christian bastin
Assigned To: Edson Tirelli
Fix For: FUTURE
We have a very long DSL including more 150 différent lines (wich could be very similar).
We have no posibility to be sure of the replacement operarted by the parsing. We often
dicover problem that force us to move the order of the lines in the DSL. This is an simple
example of what I think could be improved.
If you have a DSL
test {code} is {value}
this could replace this 2 rules in the DRL
rule "Rule-1"
when
test 10 is 10
then
> System.out.println("test 1 OK");
end
rule "Rule-1"
when
test 10 + 10 is 10
then
> System.out.println("test 1 OK");
end
I would like the ability to type the parameter of my DSL, for example with regular
expression.
test {code|[0-9]+} is {value|[0-9]+}
so the only rule available for replacement should be the first rule ("Rule-1").
The other rule would not find a replacement and should be implemented in the DSL.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira