[rules-users] How can I get rule's agenda group name?
ronalbury
ronalbury at gmail.com
Fri Dec 9 09:37:22 EST 2011
Hi Laune
I am interested in the code snippet you posted
>> for( Rule rule: knowledgePackage.getRules() ){
>> String ruleName = rule.getName();
>> org.drools.rule.Rule realRule =
>> (org.drools.rule.Rule)
>> ((KnowledgePackageImp)knowledgePackage).getRule( ruleName );
>> String agName = realRule.getAgendaGroup();
>> }
I wanted to see if I could get a ruleflow-group name and so I went to the
javadocs that came when I downloaded Drools to look up org.droos.rule.Rule
... unfortunately, I can't even find that package in the javadocs.
Ron
--
View this message in context: http://drools.46999.n3.nabble.com/How-can-I-get-rule-s-agenda-group-name-tp3508539p3573032.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list