[
https://issues.jboss.org/browse/JBRULES-2792?page=com.atlassian.jira.plug...
]
Davide Sottara commented on JBRULES-2792:
-----------------------------------------
Wolfgang, I have added some metadata accessors recently, could you please check if the
current APIs are sufficient or something is still missing?
Thanks
Provide accessability of types and metadata for declare-d types
---------------------------------------------------------------
Key: JBRULES-2792
URL:
https://issues.jboss.org/browse/JBRULES-2792
Project: Drools
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: drools-api
Affects Versions: 5.1.1.FINAL
Reporter: Wolfgang Laun
Assignee: Davide Sottara
Fix For: FUTURE
* All types created or enhanced by a DRL declare construct must be retrievable from the
KnowledgeBase using
Declare getDeclare( String pkg, String name )
* A Declare object must provide getters String getPackageName(), getName(),
Map<String,Object> getMetaData() (same as Rule)
* A Declare object must provide Class<?> getFactClass() returning the created or
enhanced java-lang.Class.
* A Declare object must provide long getInferredExpires() returning (for @role(event))
the inferred expiration offset or -1 if none.
--
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