On 8 May 2011 19:05, harishtejwani <[email protected]> wrote: > Thanks everyone for the replies. > > Wolfgang, as a note - in JavaDocs the method getMetaData("attribute") is > deprecated > http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/apidocs/index.html > > Does anyone-know why? >
The return type String is too narrow. The intent is to make this work like Java annotations. > Hopefully - getMetaData() would be here to stay! > Looks like it. Depending on usage, it might not only return a String but also a Map, but that's not your concern. -W > > I think the suggestion to use ID meta-data attribute on rule is the best > and > most stable!! > > Thanks again > > Harish > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Rule-Id-for-a-Drools-Rule-tp2914385p2915766.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
