[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2792) Provide accessability of types and metadata for declare-d types
Wolfgang Laun (JIRA)
jira-events at lists.jboss.org
Mon Nov 15 12:26:43 EST 2010
[ https://jira.jboss.org/browse/JBRULES-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563430#comment-12563430 ]
Wolfgang Laun commented on JBRULES-2792:
----------------------------------------
And:
* A org.drools.definition.type.FactField object must provide Map<String,Object> getMetaData()
> Provide accessability of types and metadata for declare-d types
> ---------------------------------------------------------------
>
> Key: JBRULES-2792
> URL: https://jira.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: Mark Proctor
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list