[consequence][]Turn on the "{sprinkler}" for "{room}"=modify(
{sprinkler}
){setOn(true)}
Example in above dsl, I cannot figure out how to parametrize true parameter
because RHS already contains curly brackets.
If i do like this, it is wrong DSL compilaton throw errors-
[consequence][]Turn "{on}" the "{sprinkler}" for
"{room}"=modify(
{sprinkler} ){setOn({on})}
Please suggest the correct code.
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-parametrize-method-parameters-in...
Sent from the Drools: User forum mailing list archive at
Nabble.com.