[rules-users] How can I get rule's agenda group name?
Wolfgang Laun
wolfgang.laun at gmail.com
Fri Dec 9 09:49:12 EST 2011
See below, and consider writing a JIRA that asks for the inclusion
of things like that in the stable API.
If it's part of DRL, it's not "unstable" -except in a very major versionquake.
-W
n 09/12/2011, ronalbury <ronalbury at gmail.com> wrote:
> 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();
String rfName = realRule.getRuleFlowGroup();
>>> }
>
> 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.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
More information about the rules-users
mailing list