[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2801) Entry-point defaults for type, rule, package

Mark Proctor (JIRA) jira-events at lists.jboss.org
Thu Sep 29 03:05:34 EDT 2011


     [ https://issues.jboss.org/browse/JBRULES-2801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Proctor updated JBRULES-2801:
----------------------------------

    Assignee: Edson Tirelli  (was: Mark Proctor)


> Entry-point defaults for type, rule, package
> --------------------------------------------
>
>                 Key: JBRULES-2801
>                 URL: https://issues.jboss.org/browse/JBRULES-2801
>             Project: Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Wolfgang Laun
>            Assignee: Edson Tirelli
>
> Implement the definition of the default entry point for an Event or Fact type via a metadata attribute, e.g.:
>    declare X
>      @role( event )
>      @entry-point( y )
>    end
> so that this
>    a) declares the entry-point in the KnowledgeBase (the same way from entry-point "x" does)
>    b) removes the need to use from entry-point with all patterns referring to X
>    c) would still let me override the entry point with a "from entry-point" clause.
> The same attribute can be used inside a rule, where it is associated with all fact patterns without an explicit entry point. Here it also overrides an entry-point declared with the type's declare, if any.
> Since all rule attributes may also be used at package level (outside rules), this includes the new entry-point attribute. It will then be honoured in rules according to the current strategy for all other rule attributes. 

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