You have to thank Davide. I just merged his pull request.
Mario
On Thu, Mar 29, 2012 at 7:19 PM, Wolfgang Laun <wolfgang.laun(a)gmail.com>wrote:
Thanks, again, Mario!
-W
---------- Forwarded message ----------
From: Mario Fusco (JIRA) <jira-events(a)lists.jboss.org>
Date: 29 March 2012 16:54
Subject: [JBoss JIRA] (JBRULES-3386) DRL component information not
available via the (stable) API
To: wolfgang.laun(a)gmail.com
[
https://issues.jboss.org/browse/JBRULES-3386?page=com.atlassian.jira.plug...]
Mario Fusco resolved JBRULES-3386.
----------------------------------
Fix Version/s: 5.4.0.CR1
Resolution: Done
> DRL component information not available via the (stable) API
> ------------------------------------------------------------
>
> Key: JBRULES-3386
> URL:
https://issues.jboss.org/browse/JBRULES-3386
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-api
> Affects Versions: 5.4.0.Beta2
> Reporter: Wolfgang Laun
> Assignee: Davide Sottara
> Priority: Minor
> Fix For: 5.4.0.CR1
>
>
> Rule authors may write DRL according to a public/stable definition, but
most of this information is not available via the stable API forcing
programmers to delve into instable classes and methods, thereby
compromising the maintainability of their code if they want to write code
for documenting the contents of Knowledge Packages. - Some of these items
are available from the KnowledgeBase but you have to know package name +
item name.
> Add methods to org.drools.definition.KnowledgePackage:
> Collection<FactType> getFactTypes()
> Collection<Query> getQueries()
> Collection<String> getFunctionNames()
> Collection<Global> getGlobalVariables() // getGlobals has been
wasted for something else
> Global { String getName(); Class getType(); }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA
administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev