JRulesを使用してビジネスルールを作成しています。以下の非常に簡単な例に示すように、ルールにコメントを追加します。私はルールのドキュメントのセクションがあり実現が、それは私が私の質問はどのようにされ、上記の例では動作しません通常のC++とC#のダブルforwardslash //を使用して、明らかにビジネスアクション言語で作成されたビジネスルールにコメント行を追加するには
// 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'
を必要とするものではありませんコメントはBALのルールに追加されました。
は、行うには賢い事のthats。 – cherit