[rules-users] Abour removing the rules from the rulebase

Anstis, Michael (M.) manstis1 at ford.com
Wed Oct 24 10:11:35 EDT 2007


Based upon the documentation I'd say "no" and "no".
 
You can use myPackage.getRules() to return Rule[] which you can iterate and
call myPackage.removeRule(aRule) but I did not see anything "out of the
box".
 
Also, calls to myPackage.removeRuleFlow(ruleFlowId) removes RuleFlows (I
believe the API changed from removeProcess).
 
With kind regards,
 
Mike


  _____  

From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of
prateek.katiyar at wipro.com
Sent: 24 October 2007 14:53
To: rules-users at lists.jboss.org
Subject: [rules-users] Abour removing the rules from the rulebase


Hello all
 
Many congratulations on the release of Drools 4.0.3
I want to remove all the rules belonging to a specific AgendaGroup from the
rulebase containing only one package.
I want to use only the name of the AgendaGroup ,not the names of the rules.
Is there any method in the API that can solve this purpose.
Can I use removeProcess(String id) method from the RuleBase interface for
this problem?
 
With Regards
Prateek

The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately and destroy all copies of this
message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.

www.wipro.com
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071024/43563a49/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4159 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20071024/43563a49/attachment.bin 


More information about the rules-users mailing list