我正在使用JRules来编写业务规则.我想在规则中添加注释,如下面的简单示例所示.我意识到规则的文档部分,但这不是我要求的
// comments needed here
definitions
set 'an existing customer' to a customer
where the category of 'an existing customer' is "gold"
if
the city of 'an existing customer' is "London"
then
give a 5% discount to 'an existing customer'
else
// and more comments needed here
give a 10% discount to 'an existing customer'
Run Code Online (Sandbox Code Playgroud)
显然,使用通常的c ++和c#double forwardslash //在上面的例子中不起作用,所以我的问题是如何将注释添加到BAL中的规则中.