[jboss-jira] [JBoss JIRA] (JBRULES-2792) Provide accessability of types and metadata for declare-d types

Davide Sottara (JIRA) jira-events at lists.jboss.org
Mon Mar 4 12:12:56 EST 2013


    [ https://issues.jboss.org/browse/JBRULES-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758234#comment-12758234 ] 

Davide Sottara commented on JBRULES-2792:
-----------------------------------------

The fix has been merged in 5.5.1-SNAPSHOT and master. Will be available in 5.6-Final and 6.0
                
> Provide accessability of types and metadata for declare-d types
> ---------------------------------------------------------------
>
>                 Key: JBRULES-2792
>                 URL: https://issues.jboss.org/browse/JBRULES-2792
>             Project: JBRULES
>          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: 6.0.0.Alpha1
>
>
> * 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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list