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

Wolfgang Laun (JIRA) jira-events at lists.jboss.org
Sat Nov 13 05:51:45 EST 2010


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