Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2792

Provide accessability of types and metadata for declare-d types

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.1.1.FINAL
    • Fix Version/s: 6.0.0.Alpha1
    • Component/s: drools-api
    • Labels:
      None

      Description

      • 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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dsotty Davide Sottara
                Reporter:
                laune Wolfgang Laun
              • Votes:
                3 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: